diff options
author | Jim Meyering <jim@meyering.net> | 2000-10-28 12:18:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-10-28 12:18:21 +0000 |
commit | a67cbceb5a648fefe69e542154be266742b38676 (patch) | |
tree | 2cf58b5825dc1b8d0ec084a0042e59b351d95dac /src/cp-hash.c | |
parent | 71a47cd7bb03e9e0842fd3300435c2065ea46ddd (diff) | |
download | coreutils-a67cbceb5a648fefe69e542154be266742b38676.tar.xz |
Make `ls' a lot more efficient on systems (e.g., linux-2.4.*)
that save file type information in directory entries.
[enum filetype] (unknown):
Add members (as yet unused):
(HAVE_STRUCT_DIRENT_D_TYPE): Define.
(format_needs_type): New global.
(main): Set it.
(print_dir): Set `type' from directory entry, if possible.
(gobble_file): Add a parameter, TYPE.
Stat the file only if its type is unknown and we need the type.
Patch from Ulrich Drepper.
Diffstat (limited to 'src/cp-hash.c')
0 files changed, 0 insertions, 0 deletions