summaryrefslogtreecommitdiff
path: root/src/sleep.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-28 12:18:21 +0000
committerJim Meyering <jim@meyering.net>2000-10-28 12:18:21 +0000
commita67cbceb5a648fefe69e542154be266742b38676 (patch)
tree2cf58b5825dc1b8d0ec084a0042e59b351d95dac /src/sleep.c
parent71a47cd7bb03e9e0842fd3300435c2065ea46ddd (diff)
downloadcoreutils-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/sleep.c')
0 files changed, 0 insertions, 0 deletions