This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] nftw: fill in stat buf for dangling links [BZ #23501]


* 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]