summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-02-10 18:56:37 +0000
committerjilles <jilles@FreeBSD.org>2013-02-10 18:56:37 +0000
commitdd4e5033b17d432b375c82b8ef1513099374601e (patch)
treeadc7ca38faa1e3706d9bbcff438bf7d15b430846 /lib/libc
parent600c4a5591d88f52a57e117b862b4c6d6c397f06 (diff)
downloadFreeBSD-src-dd4e5033b17d432b375c82b8ef1513099374601e.zip
FreeBSD-src-dd4e5033b17d432b375c82b8ef1513099374601e.tar.gz
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.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud