From: Jim Meyering Date: Sun, 28 Jan 2001 21:43:21 +0000 (+0000) Subject: (gobble_file): Add a FIXME comment. X-Git-Tag: FILEUTILS-4_0_38~5 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=577a8f346ebdd5cd4077a9f759f4ad1285866f99;p=thirdparty%2Fcoreutils.git (gobble_file): Add a FIXME comment. --- diff --git a/src/ls.c b/src/ls.c index 0b14ca5e22..117c04dc9f 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)) {