> From: Bernhard Voelker <m...@bernhard-voelker.de>,  sent: Sunday, January 26, 
> 2025 6:26 PM
> On 1/24/25 16:03, Dietmar Hahn (Fujitsu) via Bug reports for the GNU find
> utilities wrote:
> >> From: Bernhard Voelker <m...@bernhard-voelker.de, sent: Thursday,
> January 23, 2025 10:49 PM:
> >>> The fts_cycle looks corrupted.
> >>
> >> The underlying gnulib code seems to be a bit vague about this,
> >> and the comment about coreutils is also not true (any more):
> >> https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/fts-cycle.c#n110
> >>
> >>             /* FIXME: setting fts_cycle like this isn't proper.
> >>                To do what the documentation requires, we'd have to
> >>                go around the cycle again and find the right entry.
> >>                But no callers in coreutils use the fts_cycle member. */
> >>             ent->fts_cycle = ent;
> >>             ent->fts_info = FTS_DC;
> 
> Also coreutils as gnulib FTS user doesn't show the fts_cycle information
> in the error diagnostics.
> 
> I pushed the following to avoid de-referencing fts_cycle in find(1) as well:
> 
> https://git.sv.gnu.org/cgit/findutils.git/commit/?id=e5d6eb919b9
> 
> I couldn't reproduce the issue here, so maybe you could check?

Yes, but couldn't reproduce.

> Thanks again for reporting the issue.

Many thanks for your work!
Dietmar.

> Have a nice day,
> Berny

Reply via email to