Re: SIGSEGV in partial_quotearg_n()

2017-09-05 Thread Paul Eggert
James Youngman wrote: gnulib foliks, do you have test data which results in FTS_DC being returned by fts_read? If not, have you tested in any other way that ent->fts_cycle->fts_pathlen is in-bounds for this case? The Gnulib tests for fts are minimal and don't use FTS_DC as far as I know. I

[bug #51926] -xtype l fails on symbolic links that have a loop

2017-09-05 Thread Tavian Barnes
Follow-up Comment #4, bug #51926 (project findutils): It turns out that find treats -xtype (anything) as false on a broken link, which doesn't seem to be specified in the manual page. So it would be plausible to treat it as false on a circular link as well. Not really: $ ln -s nowhere broken $

Re: [PATCH] find: properly support -noleaf in ftsfind.

2017-09-05 Thread Kamil Dudka
On Saturday, September 2, 2017 5:35:31 PM CEST James Youngman wrote: > * gnulib-local/lib/fts.c.diff: incorporated from a patch by Kamil > Dudka . This patch introduces an FTS_NOLEAF option > to fts. > * gnulib-local/lib/fts_.h.diff: Likewise. > * find/ftsfind.c (ftsoptions):