HomeFreeBSD

libc: Check for readdir(2) errors in fts(3)

Description

libc: Check for readdir(2) errors in fts(3)

Previously, such errors were not distinguished from the end-of-directory
condition.

With improvements from Mahmoud Abumandour <ma.mandourr@gmail.com>.

Reviewed by: markj
PR: 262038
MFC after: 2 weeks

Details

Provenance
martymacAuthored on Mar 28 2022, 2:54 PM
markjCommitted on Mar 28 2022, 3:23 PM
Parents
rG6e13794fbe6e: libc: Restore fp state upon flush error in fputc
Branches
Unknown
Tags
Unknown