Magellan Linux

Contents of /trunk/net-tools/patches/net-tools-1.60-gcc34.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 712 byte(s)
-import

1 --- ./hostname.c.orig 2001-04-08 17:04:23.000000000 +0000
2 +++ ./hostname.c 2004-04-17 01:31:11.686122040 +0000
3 @@ -98,6 +98,7 @@
4 fprintf(stderr, _("%s: name too long\n"), program_name);
5 break;
6 default:
7 + ;
8 }
9 exit(1);
10 };
11 @@ -117,6 +118,7 @@
12 fprintf(stderr, _("%s: name too long\n"), program_name);
13 break;
14 default:
15 + ;
16 }
17 exit(1);
18 };
19 @@ -174,6 +176,7 @@
20 printf("%s\n", hp->h_name);
21 break;
22 default:
23 + ;
24 }
25 }
26
27 --- ./lib/inet_sr.c.orig 2000-02-20 21:46:45.000000000 +0000
28 +++ ./lib/inet_sr.c 2004-04-17 01:31:02.388535488 +0000
29 @@ -105,6 +105,7 @@
30 case 2:
31 isnet = 0; break;
32 default:
33 + ;
34 }
35
36 /* Fill in the other fields. */