[Bug 200942] fts_children doesn't preserve errno after running close/fchdir
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 17 21:58:36 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200942
Bug ID: 200942
Summary: fts_children doesn't preserve errno after running
close/fchdir
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: ngie at FreeBSD.org
Noticed in an internal code review -- in particular mjohnston noted that
fts_open doesn't preserve the errno after close/fchdir is called and Conrad
Meyer confirmed it:
https://svnweb.freebsd.org/base/head/lib/libc/gen/fts.c?view=annotate#l571
This might be the root cause behind a handful of other bugs with rm related to
fts_open, etc.
Spotted by: mjohnston
In collaboration with: Conrad Meyer
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list