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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"