[PATCH] nftw: fill in stat buf for dangling links [BZ #23501]
Andreas Schwab
schwab@linux-m68k.org
Sun Jun 23 07:11:00 GMT 2019
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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list