summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/misc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Now that dprintf(3) uses format string annotation checking, a sizeof()deraadt2020-09-301-2/+2
| | | | | requires (int) for a '*' modifier ok millert
* Convert snprintf+write into dprintf. It is simply easier to read, andderaadt2017-12-081-9/+3
| | | | | provides retry on short-write file descriptors. ok florian, previous versions seen by millert
* Don't dereference a freed pointer when updating the value of p.millert2015-07-141-2/+5
| | | | Noted by tedu@
* Convert the last remaining realloc() in find to reallocarray().millert2015-07-141-4/+4
|
* In brace_subst() if we realloc() the store, update p so that itmillert2015-07-141-1/+2
| | | | points into the new store, not the old one. From Gregor Best.
* use reallocarrayespie2014-05-181-2/+12
| | | | okay chl@, tedu@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-6/+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
* better realloc. ok deraadt@ henning@tedu2003-09-261-4/+10
|
* bring protypes into scope. this requires some quirky handling, but inderaadt2003-06-261-14/+15
| | | | | the end everything is much clearer; ok tedu (itojun might like to see how ifconfig looks after this)
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* kill more registersmpech2001-11-191-5/+5
| | | | millert@ ok
* o Block signals when running fts_read() so the SIGINFO handler willmillert2001-11-171-6/+8
| | | | | be sure to have a valid "entry" pointer o In SIGINFO handler, do nothing if "entry" is NULL (Theo)
* errno safety in signal handlerderaadt2001-11-161-2/+4
|
* Some -Wall cleanliness.millert1997-06-301-4/+4
|
* Respond to SIGINFO; from PR #42tholo1996-10-241-2/+19
|
* rcsidderaadt1996-06-261-1/+3
|
* initial import of NetBSD treederaadt1995-10-181-0/+128