Jim Meyering <[EMAIL PROTECTED]> wrote: ... > 2005-09-14 Jim Meyering <[EMAIL PROTECTED]> > > * strftime.c (my_strftime): Parse the colons of %:::z *after* the > optional field width, not before, so we accept %9:z, not %:9z. > > 2005-09-14 Jim Meyering <[EMAIL PROTECTED]> > > * tests/misc/date (tz-5w, tz-5wf): Test new %:z format with > a field width.
On rereading that patch, I just caught this: 2005-09-14 Jim Meyering <[EMAIL PROTECTED]> ... (my_strftime): Be sure to use L_('x') for literals. Index: lib/strftime.c =================================================================== RCS file: /fetish/cu/lib/strftime.c,v retrieving revision 1.90 retrieving revision 1.91 diff -u -p -u -r1.90 -r1.91 --- lib/strftime.c 14 Sep 2005 10:02:54 -0000 1.90 +++ lib/strftime.c 14 Sep 2005 16:10:38 -0000 1.91 @@ -647,9 +647,9 @@ my_strftime (CHAR_T *s, size_t maxsize, not before, so we accept %9:z, not %:9z. */ { const CHAR_T *q; - for (q = f; *q == ':' && q - f < 3; q++) + for (q = f; *q == L_(':') && q - f < 3; q++) ; /* empty */ - if (*q == 'z') + if (*q == L_('z')) { colons = q - f; f = q; _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils