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: [PATCHv2] nftw: fill in stat buf for dangling links [BZ #23501]


Andreas Schwab <schwab@linux-m68k.org> writes:
> Nope.  FTW_SLN must only be returned with defined stat data.

That's the opposite of what we do now.  Every FTW_SLN is returned with
undefined stat data.

Or are you saying that failure to stat() means we change the type from
FTW_SLN to FTW_NS?

That would mean that programs would see different results due to this
change, even if they ignored the stat buffer for dangling symlinks.


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