[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Several changes made to fts.c in Gnulib

From: James Youngman
Subject: Re: Several changes made to fts.c in Gnulib
Date: Tue, 25 Jul 2017 21:26:35 +0100

On Tue, Jul 25, 2017 at 5:10 PM, Paul Eggert <address@hidden> wrote:
> Kamil Dudka wrote:
>> Any chance to make the (still documented) -noleaf option of find work
>> again?
> I'm inclined to agree with Pádraig, in thinking that fts should Just Work
> without the complexity of an extra option to disable an optimization that is
> supposed to work.

Historically the main advantage of -noleaf was allowing easy diagnosis
of a file system bug.   This is needed much less frequently now that
leaf optimisation is automatically turned off for /proc on Linux.

> As things stand, 'find' can disable leaf optimization by using a bigger
> hammer, namely, turn off FTS_CURDIR. However, my suggestion is to deprecate
> the -noleaf option while you're at it.

I don't see FTS_CURDIR in fts_.h.   Is that the right enum name?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]