summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-28 21:43:21 +0000
committerJim Meyering <jim@meyering.net>2001-01-28 21:43:21 +0000
commit577a8f346ebdd5cd4077a9f759f4ad1285866f99 (patch)
tree4a2998419ba146d817e0064d70ad0f83da0f4071
parentdaf6c50b953091064ed6bf7cc1fe9f45cce791c0 (diff)
downloadcoreutils-577a8f346ebdd5cd4077a9f759f4ad1285866f99.tar.xz
(gobble_file): Add a FIXME comment.
-rw-r--r--src/ls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index 0b14ca5e2..117c04dc9 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -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))
{