summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/readdir_r.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* put the _readdir_unlocked() prototype in an obvious placederaadt2013-11-121-3/+1
|
* Nowadays, seekdir(3) doesn't call _readdir_unlocked().schwarze2013-11-061-3/+3
| | | | | | Consequently, the "skipdeleted" argument is always == 1. Remove it, effectively reverting readdir.c rev. 1.14. ok millert@ guenther@
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-301-4/+4
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* add some prototypes, casts, includes, parenthesis, and whatnot totedu2013-04-171-1/+3
| | | | silence some warnings.
* Make DIR a private type within libc, give it the same underlyingmatthew2012-03-221-1/+2
| | | | | | typedef regardless of __BSD_VISIBLE, and eliminate the dirfd() macro. ok guenther@
* More shrinkage, a bit for ramdisks but mostly for static binaries:guenther2009-11-181-0/+56
- wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it (The profit of analysis of -Wl,-M,--cref output) Chops 888kB from /bin and /sbin on i386 ok deraadt@, miod@