Commit Graph

12 Commits

Author SHA1 Message Date
lukem ef83aa34d9 clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-18 03:21:00 +00:00
simonb 49e4ac39e7 Include <limits.h> for LONG_MIN/LONG_MAX.
Put kernel include file first, as per KNF.
2001-09-01 02:17:29 +00:00
perry 1c06d95c62 new KNF style function declarations 2001-05-29 23:22:42 +00:00
mycroft 3fe322d08e Power of 2 realloc. 2001-03-16 08:02:32 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
is 33247bac6d Add missing newline in usage string. 1999-02-03 16:22:16 +00:00
fair a7b28c97e7 This trivial and computationally useless pointer initialization makes
gcc 2.7.2.2 happy on m68k again.
1998-12-07 04:10:13 +00:00
perry ff669e2e1a Small bug fix from Soren S. Jorvang (soren@t.dk) 1998-12-04 17:47:06 +00:00
thorpej bdbbf87163 Must cast size_t to long and use %ld to print. 1998-09-30 18:37:05 +00:00
christos 635d311056 - argument error detection
- long line support
- argument change [-f <fname>] instead of [-c <args>]
- conditional prototypes
1998-09-24 12:28:39 +00:00
perry 50a3fa9e59 make compile with warnings on. 1998-09-23 21:45:44 +00:00
perry 6e92230560 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.
1998-09-23 21:05:59 +00:00