From 577a8f346ebdd5cd4077a9f759f4ad1285866f99 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 28 Jan 2001 21:43:21 +0000 Subject: [PATCH] (gobble_file): Add a FIXME comment. --- src/ls.c | 4 ++++ 1 file changed, 4 insertions(+) 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)) {