summaryrefslogtreecommitdiff
path: root/usr.bin/lam/lam.c
AgeCommit message (Collapse)Author
2007-06-26Fix buffer overflow reported by Tobias Stoeckmann by increasing theRay Lai
number of file descriptors to the correct limit, NOFILE_MAX, and improve calculation of open file count. OK moritz
2004-12-27be aware of snprintf potentially returning -1Theo de Raadt
2004-07-03Fixes from Jared Yanovich with help from myself and cloder@; OK otto@Todd C. Miller
o make lam(1) use getopt(3) and err(3). o fix off-by-one error o use OPEN_MAX instead of rolling our own o a little KNF
2003-12-09use err/warn and better usage printMichael Shalayeff
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-21Use strlcpy() and snprintf() in favor of inline strcpy() and sprintf().Todd C. Miller
Based on a diff from krw but this uses the strlcpy() / snprintf() return values. millert tested, krw approved...
2003-04-06Consider 0 characters left to be a lack of format space.Kenneth R Westerback
ok deraadt@ millert@
2003-04-05simple snprintf; miod okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt