diff options
author | Jim Meyering <jim@meyering.net> | 2001-01-28 21:43:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-01-28 21:43:21 +0000 |
commit | 577a8f346ebdd5cd4077a9f759f4ad1285866f99 (patch) | |
tree | 4a2998419ba146d817e0064d70ad0f83da0f4071 | |
parent | daf6c50b953091064ed6bf7cc1fe9f45cce791c0 (diff) | |
download | coreutils-577a8f346ebdd5cd4077a9f759f4ad1285866f99.tar.xz |
(gobble_file): Add a FIXME comment.
-rw-r--r-- | src/ls.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1902,6 +1902,10 @@ gobble_file (const char *name, enum filetype type, int explicit_arg, files[files_index].linkmode = 0; files[files_index].linkok = 0; + /* FIXME: this use of ls: `mkdir a; touch a/{b,c,d}; ls -R a' + shouldn't require that ls stat b, c, and d -- at least + not on systems with usable d_type. The problem is that + format_needs_stat is set, because of the -R. */ if (explicit_arg || format_needs_stat || (format_needs_type && type == unknown)) { |