OpenGrok
Cross Reference: shuffle.c
xref
: /
src
/
usr.bin
/
shuffle
/
shuffle.c
Home
|
History
|
Annotate
|
Download
|
only in
shuffle
History log of
/src/usr.bin/shuffle/shuffle.c
Revision
Date
Author
Comments
1.22
06-Feb-2017
dholland
Fix misuse of arc4random by using arc4random_uniform.
Noticed by riastradh.
1.21
16-Sep-2011
joerg
branches: 1.21.24; 1.21.28;
Use __dead
1.20
13-Apr-2009
lukem
fix sign-compare issue
1.19
26-Aug-2006
christos
branches: 1.19.26;
More programs using efun.
1.18
01-Dec-2004
perry
Mike Cheponis noted that I didn't list the edition of Knuth that the
page number refers to. Fixed.
1.17
10-Sep-2004
itojun
use arc4random
1.16
18-May-2004
cube
Teach getopt about the new -0 option. Noted by Jeff Ito in PR 25621.
1.15
05-Jan-2004
jmmv
branches: 1.15.2;
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
1.14
21-Aug-2003
christos
make -0 actually work
1.13
20-Aug-2003
christos
Add -0 option.
1.12
18-Apr-2003
lukem
clear errno before strto(u)l() if we're going to test it for ERANGE afterwards
1.11
01-Sep-2001
simonb
Include <limits.h> for LONG_MIN/LONG_MAX.
Put kernel include file first, as per KNF.
1.10
29-May-2001
perry
new KNF style function declarations
1.9
16-Mar-2001
mycroft
Power of 2 realloc.
1.8
19-Feb-2001
cgd
convert to use getprogname()
1.7
03-Feb-1999
is
Add missing newline in usage string.
1.6
07-Dec-1998
fair
This trivial and computationally useless pointer initialization makes
gcc 2.7.2.2 happy on m68k again.
1.5
04-Dec-1998
perry
Small bug fix from Soren S. Jorvang (soren@t.dk)
1.4
30-Sep-1998
thorpej
Must cast size_t to long and use %ld to print.
1.3
24-Sep-1998
christos
- argument error detection
- long line support
- argument change [-f <fname>] instead of [-c <args>]
- conditional prototypes
1.2
23-Sep-1998
perry
make compile with warnings on.
1.1
23-Sep-1998
perry
Add shuffle, a small program for producing permutations.
Note that is still a little cleanup to be done, but I thought it was
the right point to commit.
1.15.2.1
20-May-2004
tron
Pull up revision 1.16 (requested by cube in ticket #351):
Teach getopt about the new -0 option. Noted by Jeff Ito in PR 25621.
1.19.26.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
1.21.28.1
21-Apr-2017
bouyer
Sync with HEAD
1.21.24.1
20-Mar-2017
pgoyette
Sync with HEAD
Indexes created Mon Oct 13 04:09:54 GMT 2025