[PATCH] nftw: fill in stat buf for dangling links [BZ #23501]
Florian Weimer
fw@deneb.enyo.de
Sun Jun 23 12:13:00 GMT 2019
* Andreas Schwab:
> On Jun 22 2019, DJ Delorie <dj@redhat.com> wrote:
>
>> Andreas Schwab <schwab@linux-m68k.org> writes:
>>> If it's ENOENT, you could just skip it.
>>
>> The existing code wouldn't skip it, so that would be a more significant
>> change.
>>
>> Unless you just mean skip filling in the stat_buf, but as I commented,
>> "Let's prefer obvious over subtle so zero the data here."
>
> Since the name no longer exists it should be treated like any other
> non-existing name.
I agree with Andreas. Skipping ENOENT is not really an observable
because its occurrence depends on a race condition anyway.
More information about the Libc-alpha
mailing list