]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc: Check for readdir(2) errors in fts(3)
authorGanael LAPLANCHE <martymac@FreeBSD.org>
Mon, 28 Mar 2022 14:54:02 +0000 (10:54 -0400)
committerMark Johnston <markj@FreeBSD.org>
Mon, 28 Mar 2022 15:23:46 +0000 (11:23 -0400)
commit0cff70ca66547ca5b04030ef07e6a0b9759a0184
tree09e87119b8af735f1c3f5640c908dd40ee020989
parent6e13794fbe6e82c21365d0fd66769bf8b19c0197
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
lib/libc/gen/fts-compat.c
lib/libc/gen/fts-compat11.c
lib/libc/gen/fts.c