summaryrefslogtreecommitdiffstats
path: root/usr.bin/rs/rs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* userland reallocarray audit.doug2014-10-081-2/+2
| | | | | | | Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray(). ok deraadt@
* Include unistd.h as it is the standard location for getopt().millert2013-11-151-1/+2
| | | | From Eitan Adler
* don't try to stuff ptr differences into an int; from Arto Jonsson; ok espie@otto2012-12-031-5/+4
|
* In preparation for getline and getdelim additions to libc, rename getline()fgsch2012-03-041-6/+6
| | | | | occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-15/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* sort flags.sobrado2009-10-141-3/+3
|
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-3/+3
|
* Three undocumented options got lost in the conversion to getopt(3).moritz2006-04-171-60/+4
| | | | | | | | Remove their remaining code, since they were not working before. Initial diff from Steffen Wendzel. ok millert@
* oops. grasp of alphabet...slipping...jmc2005-05-151-3/+3
|
* Make usage/SYNOPSIS saner and sort the options. With jmc@millert2005-05-151-3/+3
|
* Replace homegrown getnum() with strtonum() and replace atoi() withmillert2005-05-141-40/+48
| | | | strtonum() and strtol().
* kill commented out codemillert2005-05-141-28/+4
|
* make this use getopt()millert2005-05-141-99/+122
|
* use NULL for pointers. from Joris Vinktedu2004-03-131-3/+3
|
* better realloc. ok deraadt@tedu2003-10-161-6/+10
|
* mostly ansi cleanup; pval okderaadt2003-06-101-24/+14
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-11/+11
|
* kill more registersmpech2001-11-191-18/+18
| | | | millert@ ok
* fix -z; jarle@uninett.noderaadt2001-10-281-2/+2
|
* Kill extra newline in err()/warn().millert1997-09-121-2/+4
|
* rcsidderaadt1996-06-261-0/+2
|
* avoid divide-by-zero trap when specifying small widthsderaadt1996-05-211-45/+46
| | | | | | do not overrun entry array when printing output tables cleanup storage allocation for entries use err/warn etc.
* initial import of NetBSD treederaadt1995-10-181-0/+547