This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nftw: fill in stat buf for dangling links [BZ #23501]
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: DJ Delorie <dj at redhat dot com>
- Cc: tuliom at ascii dot art dot br, libc-alpha at sourceware dot org
- Date: Sun, 23 Jun 2019 09:11:03 +0200
- Subject: Re: [PATCH] nftw: fill in stat buf for dangling links [BZ #23501]
- References: <xnwohduj12.fsf@greed.delorie.com>
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."