[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58050: [INSTALLED] rm: fix diagnostics on I/O error
From: |
Pádraig Brady |
Subject: |
bug#58050: [INSTALLED] rm: fix diagnostics on I/O error |
Date: |
Sun, 25 Sep 2022 15:25:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Thunderbird/98.0 |
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 attached to add a NEWS entry,
and add DS_EMPTY, DS_NONEMPTY enums to make the code easier to read?
thanks,
Pádraig
rm-use-constants.patch
Description: Text Data