summaryrefslogtreecommitdiff
path: root/lib/libc/gen/ftw.c
Commit message (Collapse)AuthorAgeFilesLines
* ftw(): Do not check the maxfds argument against OPEN_MAX.Jilles Tjoelker2012-08-091-2/+1
| | | | | | | | | | | | | Apart from the fact that nothing should have OPEN_MAX as a limit (as opposed to RLIMIT_NOFILE from getrlimit() or _SC_OPEN_MAX from sysconf()), POSIX does not require us to check this. POSIX does have a requirement on the application that maxfds not exceed {OPEN_MAX}, but does not require the implementation to check it ("may fail"). PR: 95239 Notes: svn path=/head/; revision=239151
* Sync with OpenBSD (zap rcsid).Xin LI2011-06-181-7/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=223215
* Replace the current implementations of ftw() and nftw() with the OpenBSDTim J. Robbins2004-08-241-192/+90
| | | | | | | | implementations written by Todd C. Miller. These are cleaner, less buggy and actively maintained. Notes: svn path=/head/; revision=134244
* Don't pass function pointers via a void * parameter.Stefan Farfeleder2004-08-021-4/+4
| | | | Notes: svn path=/head/; revision=133003
* Remove unused variable.David Schultz2004-07-231-9/+1
| | | | | | | Noticed by: Todd Miller <Todd.Miller@courtesan.com> Notes: svn path=/head/; revision=132573
* Add implementations of ftw(3) and nftw(3) and the corresponding headerDavid Schultz2004-07-051-0/+208
ftw.h. This is the implementation written by Joel Baker <fenton@debian.org> for inclusion in NetBSD, but with several bugfixes. Obtained from: Debian Notes: svn path=/head/; revision=131661