diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 01:16:45 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 01:16:45 +0000 |
commit | 0d36ec3c7937d274f501258ddf1798b05e4f33c2 (patch) | |
tree | b35c705d3b36af5129c9a15430528661add3b428 /misc/shuffle/files/patch-shuffle.c_1 | |
parent | Stage net-mgmt/routers2-extras and cleanup (diff) |
Rename misc/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363282
Diffstat (limited to 'misc/shuffle/files/patch-shuffle.c_1')
-rw-r--r-- | misc/shuffle/files/patch-shuffle.c_1 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/misc/shuffle/files/patch-shuffle.c_1 b/misc/shuffle/files/patch-shuffle.c_1 new file mode 100644 index 000000000000..a28e43cd5b21 --- /dev/null +++ b/misc/shuffle/files/patch-shuffle.c_1 @@ -0,0 +1,24 @@ +Index: shuffle.c +=================================================================== +RCS file: /stl/src/NetBSD/basesrc/usr.bin/shuffle/shuffle.c,v +retrieving revision 1.9 +diff -u -r1.9 shuffle.c +--- shuffle.c 2001/03/16 08:02:32 1.9 ++++ shuffle.c 2001/06/03 22:21:49 +@@ -37,6 +37,7 @@ + #endif /* not lint */ + + #include <err.h> ++#include <limits.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -255,7 +256,7 @@ + nlines = pick; + } + +- for (i = 0; i < nlines; i++) { ++ for (i = 0; (unsigned)i < nlines; i++) { + if (nflag) + printf("%ld\n", (long)shuffle[i]); + else |