[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ls.c minor diagnostic wording improvement
From: |
Paul Eggert |
Subject: |
ls.c minor diagnostic wording improvement |
Date: |
Thu, 16 Dec 2004 21:18:13 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
ls used quotearg_colon when the context didn't have a colon. I
installed this fix:
2004-12-16 Paul Eggert <address@hidden>
* 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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ls.c minor diagnostic wording improvement,
Paul Eggert <=