diff options
author | Jim Meyering <jim@meyering.net> | 2006-07-26 13:47:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-07-26 13:47:41 +0000 |
commit | 2465b478fd0952f68aaede95f6b2a0e1d0149f74 (patch) | |
tree | df1201f64e944531591a97361e6e88cca1a32af9 /doc | |
parent | efb40f6b0fe50ea7452af98e07981da72cc67ae3 (diff) | |
download | coreutils-2465b478fd0952f68aaede95f6b2a0e1d0149f74.tar.xz |
Checking in a change from Paul.
2006-07-25 Paul Eggert <eggert@cs.ucla.edu>
* src/ls.c (DT_INIT): Remove. All uses removed.
(enum filetype): Use an ordinary enum rather than trying to keep
the values in sync with DT_FIFO etc. That way, we don't have
to make special assumptions about them. All uses changed.
(whiteout): New constant member of enum filetype.
(filetype_letter): New constant, for use with enum filetype.
(FILETYPE_INDICATORS): New initializer list.
(print_dir): Add case for DT_WHT.
(gobble_file): If stat fails, don't discard information from
readdir; instead, preserve it so it can be printed.
(print_long_format): Fall back on readdir result if stat info
is not available. Use "?" to denote each unknown mode char,
instead of an overall "?", since we now know some of the mode
typically.
(print_type_indicator): Now that MODE isn't necessarily
useful, guard all uses.
Now that two blocks in the type-checking tree can set "type = C_FILE",
move the suffix-handling code out and down.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions