summaryrefslogtreecommitdiff
path: root/usr.bin/find/function.c
AgeCommit message (Collapse)Author
1999-10-04If we can't chdir to the root dir in -execdir, just return insteadTodd C. Miller
of generating an error. Most times this is just because the target is not a directory. Also close an fd leak introduced in the last commit.
1999-10-04Move the chdir/fchdir hack so that it is local to the -execdirTodd C. Miller
function, since that's the only place it needs to be. Doing it for each function caused problems with multiple directories.
1999-10-03Do not use FTS_CHDIRROOT flag as it is fatally flawed. Instead,Todd C. Miller
do the chdir ourselves. This fixes a problem with the -execdir option with multiple relative directories.
1999-03-17Add -W option so -type W gets a chance to work.Marc Espie
1998-09-26more setmode() leaks -- kill 'em allTheo de Raadt
1997-11-13Add the primaries -mmin, -amin, -cmin to find, similar to the GNU find; woschTheo de Raadt
1997-09-01Fix problem with ``find -execdir'' not having the correct initial cwd.Todd C. Miller
Adds a new flag to fts(3).
1997-06-30Some -Wall cleanliness.Todd C. Miller
1996-12-23Add -execdir support.Todd C. Miller
1996-09-01Add support for -emptyThorsten Lockert
1996-09-01Add support for -mindepth while at itThorsten Lockert
1996-08-31Add support for -maxdepth optionThorsten Lockert
1996-06-26rcsidTheo de Raadt
1996-06-25indent niceTheo de Raadt
1996-05-28support whiteouts; netbsd pr#2394; mike.long@analog.comTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt