]> Savannah Git Hosting - gnulib.git/commit
Tune fts for FTS_LOGICAL+FTS_NOSTAT
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Apr 2020 18:02:53 +0000 (11:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Apr 2020 18:05:07 +0000 (11:05 -0700)
commitbddb8c50edc730e4ea60181a541f4fe41ba933ff
tree211b6f3600ef2f309c1f63628f12c3258be0c7df
parent9e26b0f33d3ba12c08efed9b604d8d5f8722bd4e
Tune fts for FTS_LOGICAL+FTS_NOSTAT

From a suggestion by Askar Safin in:
https://lists.gnu.org/r/bug-gnulib/2020-04/msg00074.html
* lib/fts.c (fts_build): If file types are known, optimize
FTS_LOGICAL+FTS_NOSTAT for non-symlinks and non-directories the
same way that we already optimize FTS_PHYSICAL+FTS_NOSTAT for
non-directories.
ChangeLog
lib/fts.c