Dash:
[t2.git] / package / network / net-tools / hotfix-gcc34.patch
blob0635ab69d7a4f443ccbb2392af8789576742fff5
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../net-tools/gcc34.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 The usual label at end of compound statement fixes for gcc-3.4.
19 - Rene Rebe <rene@exactcode.de>
21 --- ./lib/inet_sr.c.vanilla 2004-07-04 20:31:07.000000000 +0200
22 +++ ./lib/inet_sr.c 2004-07-04 20:31:15.000000000 +0200
23 @@ -104,7 +104,6 @@
24 isnet = 1; break;
25 case 2:
26 isnet = 0; break;
27 - default:
30 /* Fill in the other fields. */
31 --- ./hostname.c.vanilla 2004-07-04 20:31:45.000000000 +0200
32 +++ ./hostname.c 2004-07-04 20:32:07.000000000 +0200
33 @@ -97,7 +97,6 @@
34 case EINVAL:
35 fprintf(stderr, _("%s: name too long\n"), program_name);
36 break;
37 - default:
39 exit(1);
41 @@ -116,7 +115,6 @@
42 case EINVAL:
43 fprintf(stderr, _("%s: name too long\n"), program_name);
44 break;
45 - default:
47 exit(1);
49 @@ -173,7 +171,6 @@
50 *p = '\0';
51 printf("%s\n", hp->h_name);
52 break;
53 - default: