ls used quotearg_colon when the context didn't have a colon.  I
installed this fix:

2004-12-16  Paul Eggert  <[EMAIL PROTECTED]>

        * src/ls.c (print_dir): Use "%s: not listing already-listed
        directory", not "not listing already-listed directory: %s", to
        format already-listed directories, to be consistent with other
        diagnostics involving file names and colons.

Index: ls.c
===================================================================
RCS file: /fetish/cu/src/ls.c,v
retrieving revision 1.372
retrieving revision 1.373
diff -p -u -r1.372 -r1.373
--- ls.c        14 Dec 2004 00:42:19 -0000      1.372
+++ ls.c        17 Dec 2004 05:08:40 -0000      1.373
@@ -2280,7 +2280,7 @@ print_dir (char const *name, char const 
         we've found a loop, and do not process this directory.  */
       if (visit_dir (dir_stat.st_dev, dir_stat.st_ino))
        {
-         error (0, 0, _("not listing already-listed directory: %s"),
+         error (0, 0, _("%s: not listing already-listed directory"),
                 quotearg_colon (name));
          return;
        }


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to