Searched hist:246628 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/usr.bin/find/
H A Dfunction.cdiff 246628 Sun Feb 10 17:08:14 MST 2013 jilles find: Run when cwd cannot be opened, except with -execdir or -delete.

fts(3) can run (albeit more slowly and imposing the {PATH_MAX} limit) when
the current directory cannot be opened. Therefore, do not make a failure to
open the current directory (for returning to it later in -exec) fatal.

If -execdir or -delete are used, the expectation is that fts(3) will use
chdir to avoid race conditions (except for -execdir with -L). Do not break
this expectation any more than it already is by still failing if the current
directory cannot be opened.

Completed in 112 milliseconds