]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ls is now more efficient: it no longer needs to stat each directory
authorJim Meyering <jim@meyering.net>
Sun, 1 Dec 2002 08:57:26 +0000 (08:57 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 1 Dec 2002 08:57:26 +0000 (08:57 +0000)
commit4966d758f2b1e17478afeb52da4d436f40767e04
treed99c7cac646bf8e56c0fe76c39ddf5ef90cb1600
parent7274f62b83e3f3c6024be07432f475193efae0aa
ls is now more efficient: it no longer needs to stat each directory
entry on systems with valid dirent.d_type.

(print_dir): Add DT_LNK and DT_REG.
(main): Make --recursive set format_needs_type, not format_needs_stat.
(gobble_file): Remove a FIXME comment, now that this is fixed.
src/ls.c