summaryrefslogtreecommitdiff
path: root/usr.bin/sort/init.c
AgeCommit message (Expand)Author
2007-09-01Use an int, not a size_t, to store the return value of snprintf().Matthias Kilian
2007-04-02The scanf(3) family of functions can return EOF (-1) if an inputMoritz Jodeit
2006-11-16Fix undefined behavior (var = ++var).Ray Lai
2005-04-11also handle snprintf returning -1, trivialTheo de Raadt
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2003-06-26protosTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-06Rewrite fixit() to use snprintf() and strtol() with bounds and errorTodd C. Miller
1999-05-24Dynamically allocate memory for structures whose sizes are based on theTodd C. Miller
1997-06-16Cosmetic cleanup, mostly KNF.Todd C. Miller
1997-01-20sort(1) from 4.4BSD-lite2 with minor tweaks and bug fixes by me.Todd C. Miller