Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Mar 2022 21:10:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262038] fts(3): Check for readdir(3) errors
Message-ID:  <bug-262038-227-oqzfFZtO2M@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262038-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262038-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262038

--- Comment #6 from Mahmoud Abumandour <ma.mandourr@gmail.com> ---
Created attachment 232355
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232355&action=
=3Dedit
Check for readdir errors in fts

Fix the bug for fts.c, fts-compat.c, and fts-compat11.c. I followed Mark's
advice on setting a separate readdir errno integer in `fts_safe_readdir`, a=
nd
checking for errors using it. I also preferred to unify the interface of th=
at
function regardless of using either `readdir()` or `freebsd11_readdir()`.

I would be happy to address any modification requests if there are any.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262038-227-oqzfFZtO2M>