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

(cherry picked from commit 0cff70ca66547ca5b04030ef07e6a0b9759a0184)

Details

Provenance
martymacAuthored on Mar 28 2022, 2:54 PM
markjCommitted on Apr 11 2022, 1:43 PM
Parents
rG97d99787446f: audit: Initialize vattr fields before calling VOP_GETATTR
Branches
Unknown
Tags
Unknown