Changeset ecc1136 for patches/iputils-s20101006-fixes-1.patch
- Timestamp:
- Jan 9, 2011, 1:17:41 AM (14 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 3eeef443
- Parents:
- b575f20
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/iputils-s20101006-fixes-1.patch
rb575f20 recc1136 1 diff -Naur iputils-s20100418.orig/Makefile iputils-s20100418/Makefile 2 --- iputils-s20100418.orig/Makefile 2010-04-18 00:45:45.000000000 -0400 3 +++ iputils-s20100418/Makefile 2010-08-04 19:52:08.438080809 -0400 1 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 2011-01-08 3 Initial Package Version: s20100418 4 Upstream Status: Unknown 5 Origin: Unknown 6 Description: Contains Fixes for Various Issues 7 8 diff -Naur iputils-s20101006.orig/Makefile iputils-s20101006/Makefile 9 --- iputils-s20101006.orig/Makefile 2010-10-06 07:59:20.000000000 -0400 10 +++ iputils-s20101006/Makefile 2011-01-08 20:06:05.039019429 -0500 4 11 @@ -16,7 +16,7 @@ 5 12 CCOPT=-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g … … 11 18 TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS) 12 19 13 diff -Naur iputils-s2010 0418.orig/arping.c iputils-s20100418/arping.c14 --- iputils-s2010 0418.orig/arping.c 2010-04-18 00:45:45.000000000 -040015 +++ iputils-s2010 0418/arping.c 2010-08-04 19:52:08.441575956 -040020 diff -Naur iputils-s20101006.orig/arping.c iputils-s20101006/arping.c 21 --- iputils-s20101006.orig/arping.c 2010-10-06 07:59:20.000000000 -0400 22 +++ iputils-s20101006/arping.c 2011-01-08 20:06:05.039019429 -0500 16 23 @@ -182,12 +182,17 @@ 17 24 if (start.tv_sec==0) … … 34 41 finish(); 35 42 } 36 diff -Naur iputils-s2010 0418.orig/doc/Makefile iputils-s20100418/doc/Makefile37 --- iputils-s2010 0418.orig/doc/Makefile 2010-04-18 00:45:45.000000000 -040038 +++ iputils-s2010 0418/doc/Makefile 2010-08-04 19:52:08.441575956 -040043 diff -Naur iputils-s20101006.orig/doc/Makefile iputils-s20101006/doc/Makefile 44 --- iputils-s20101006.orig/doc/Makefile 2010-10-06 07:59:20.000000000 -0400 45 +++ iputils-s20101006/doc/Makefile 2011-01-08 20:06:05.039019429 -0500 39 46 @@ -6,7 +6,7 @@ 40 47 … … 56 63 @rm -rf $(MANFILES) $(HTMLFILES) iputils.html tmp.db2html tmp.db2man 57 64 58 diff -Naur iputils-s2010 0418.orig/doc/docbook2man-spec.pl iputils-s20100418/doc/docbook2man-spec.pl59 --- iputils-s2010 0418.orig/doc/docbook2man-spec.pl 2010-04-18 00:45:45.000000000 -040060 +++ iputils-s2010 0418/doc/docbook2man-spec.pl 2010-08-04 19:52:08.438080809 -040065 diff -Naur iputils-s20101006.orig/doc/docbook2man-spec.pl iputils-s20101006/doc/docbook2man-spec.pl 66 --- iputils-s20101006.orig/doc/docbook2man-spec.pl 2010-10-06 07:59:20.000000000 -0400 67 +++ iputils-s20101006/doc/docbook2man-spec.pl 2011-01-08 20:06:05.039019429 -0500 61 68 @@ -428,7 +428,7 @@ 62 69 output ' '; … … 77 84 } 78 85 79 diff -Naur iputils-s2010 0418.orig/ping.c iputils-s20100418/ping.c80 --- iputils-s2010 0418.orig/ping.c 2010-04-18 00:45:45.000000000 -040081 +++ iputils-s2010 0418/ping.c 2010-08-04 19:52:08.441575956 -040086 diff -Naur iputils-s20101006.orig/ping.c iputils-s20101006/ping.c 87 --- iputils-s20101006.orig/ping.c 2010-10-06 07:59:20.000000000 -0400 88 +++ iputils-s20101006/ping.c 2011-01-08 20:06:05.039019429 -0500 82 89 @@ -250,7 +250,7 @@ 83 90 if (argc == 1) … … 126 133 printf("Dest Unreachable, Bad Code: %d\n", code); 127 134 break; 128 @@ -1032,7 +1059,7 @@ 129 i = j; 130 i -= IPOPT_MINOFF; 131 if (i <= 0) 132 - continue; 133 + break; 134 if (i == old_rrlen 135 && !strncmp((char *)cp, old_rr, i) 136 && !(options & F_FLOOD)) { 137 @@ -1069,7 +1096,7 @@ 138 i = j; 139 i -= 5; 140 if (i <= 0) 141 - continue; 142 + break; 143 flags = *++cp; 144 printf("\nTS: "); 145 cp++; 146 diff -Naur iputils-s20100418.orig/ping_common.c iputils-s20100418/ping_common.c 147 --- iputils-s20100418.orig/ping_common.c 2010-04-18 00:45:45.000000000 -0400 148 +++ iputils-s20100418/ping_common.c 2010-08-04 19:52:08.433579291 -0400 135 diff -Naur iputils-s20101006.orig/ping_common.c iputils-s20101006/ping_common.c 136 --- iputils-s20101006.orig/ping_common.c 2010-10-06 07:59:20.000000000 -0400 137 +++ iputils-s20101006/ping_common.c 2011-01-08 20:06:05.039019429 -0500 149 138 @@ -872,7 +872,8 @@ 150 139 printf("%spipe %d", comma, pipesize); … … 157 146 printf("%sipg/ewma %d.%03d/%d.%03d ms", 158 147 comma, ipg/1000, ipg%1000, rtt/8000, (rtt/8)%1000); 159 diff -Naur iputils-s2010 0418.orig/tracepath.c iputils-s20100418/tracepath.c160 --- iputils-s2010 0418.orig/tracepath.c 2010-04-18 00:45:45.000000000 -0400161 +++ iputils-s2010 0418/tracepath.c 2010-08-04 19:52:08.438080809 -0400148 diff -Naur iputils-s20101006.orig/tracepath.c iputils-s20101006/tracepath.c 149 --- iputils-s20101006.orig/tracepath.c 2010-10-06 07:59:20.000000000 -0400 150 +++ iputils-s20101006/tracepath.c 2011-01-08 20:06:05.039019429 -0500 162 151 @@ -338,9 +338,9 @@ 163 152 base_port = atoi(p+1);
Note:
See TracChangeset
for help on using the changeset viewer.