[Bug 262038] fts(3): Check for readdir(3) errors
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 262038] fts: Check for readdir errors"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Mar 2022 21:10:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262038 --- Comment #6 from Mahmoud Abumandour <ma.mandourr@gmail.com> --- Created attachment 232355 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232355&action=edit 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`, and checking for errors using it. I also preferred to unify the interface of that function regardless of using either `readdir()` or `freebsd11_readdir()`. I would be happy to address any modification requests if there are any. -- You are receiving this mail because: You are the assignee for the bug.