bug#58050: [INSTALLED] rm: fix diagnostics on I/O error

2022-09-25 Thread Paul Eggert
On 9/25/22 07:25, Pádraig Brady wrote: How about the attached to add a NEWS entry, and add DS_EMPTY, DS_NONEMPTY enums to make the code easier to read? Sure, that looks good; thanks. Oh, I forgot that via code inspection I found a theoretical portability bug in fts while I was looking into Bu

bug#58050: [INSTALLED] rm: fix diagnostics on I/O error

2022-09-25 Thread Pádraig Brady
On 25/09/2022 00:37, Paul Eggert wrote: I ran into this problem when attempting to recursively remove a directory in a filesystem on flaky hardware. Although the underlying readdir syscall failed with errno == EIO, rm issued no diagnostic about the I/O error. This looks good. How about the atta