summaryrefslogtreecommitdiffstats
path: root/sbin/fsck/preen.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* Whole bunch of (unsigned char) casts carefully added for ctype calls.deraadt2013-11-221-2/+2
| | | | Careful second audit by millert
* make "fsck -p" respect fs_passno > 2, as implied by the manual. This canckuethe2010-11-291-6/+9
| | | | | | be used to schedule the check of softraid(4) disks after all the slices on the component disks have been checked. ok deraadt
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+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
* Change some TAILQ_FIRST() == NULL tests into TAILQ_EMPTY(). The firstotto2005-10-281-6/+6
| | | | | form is valid, but in these cases its more clear to say what you mean. ok pat@ henning@
* Use queue macros instead of directly accessing fields. ok miod@ aaron@otto2005-10-151-22/+22
| | | | jaredy@ patrick@ millert@
* const the rcsid, and make it say OpenBSDtedu2003-06-261-2/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* ansideraadt2002-07-031-16/+8
|
* rm trailing whitespacetodd2002-06-091-2/+2
|
* pid_t cleanupderaadt2002-05-261-3/+4
|
* Remove \n from err/errx/warn/warnx().mpech2002-03-141-4/+4
| | | | millert@ ok
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-7/+7
|
* 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-5/+5
|
* kill more registers;mpech2001-11-051-3/+3
| | | | millert@ ok
* pids should be pid_tniklas1999-01-111-2/+2
|
* some -Wallderaadt1997-09-141-2/+2
|
* Sync with NetBSD 961019tholo1996-10-201-0/+341
|
* sync to netbsd 960418deraadt1996-04-211-370/+0
|
* initial import of NetBSD treederaadt1995-10-181-0/+370