]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(gobble_file): Add a FIXME comment.
authorJim Meyering <jim@meyering.net>
Sun, 28 Jan 2001 21:43:21 +0000 (21:43 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 28 Jan 2001 21:43:21 +0000 (21:43 +0000)
src/ls.c

index 0b14ca5e22eac02009857cefc4b6626ccd69bd29..117c04dc9f0c23007cab667aee92b9e58179ed2d 100644 (file)
--- 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))
     {