summaryrefslogtreecommitdiff
path: root/source/n/net-tools/net-tools.switch.default.gcc4.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/net-tools/net-tools.switch.default.gcc4.diff')
-rw-r--r--source/n/net-tools/net-tools.switch.default.gcc4.diff42
1 files changed, 42 insertions, 0 deletions
diff --git a/source/n/net-tools/net-tools.switch.default.gcc4.diff b/source/n/net-tools/net-tools.switch.default.gcc4.diff
new file mode 100644
index 00000000..4d7090e0
--- /dev/null
+++ b/source/n/net-tools/net-tools.switch.default.gcc4.diff
@@ -0,0 +1,42 @@
+--- ./hostname.c.orig 2001-04-08 12:04:23.000000000 -0500
++++ ./hostname.c 2010-08-12 12:19:29.181510641 -0500
+@@ -78,6 +78,7 @@
+ fprintf(stderr, _("%s: name too long\n"), program_name);
+ break;
+ default:
++ break;
+ }
+ exit(1);
+ }
+@@ -98,6 +99,7 @@
+ fprintf(stderr, _("%s: name too long\n"), program_name);
+ break;
+ default:
++ break;
+ }
+ exit(1);
+ };
+@@ -117,6 +119,7 @@
+ fprintf(stderr, _("%s: name too long\n"), program_name);
+ break;
+ default:
++ break;
+ }
+ exit(1);
+ };
+@@ -174,6 +177,7 @@
+ printf("%s\n", hp->h_name);
+ break;
+ default:
++ break;
+ }
+ }
+
+@@ -330,7 +334,6 @@
+ case 'h':
+ default:
+ usage();
+-
+ };
+
+