aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strftime.c
diff options
context:
space:
mode:
authorPaul Eggert2012-05-26 16:14:36 -0700
committerPaul Eggert2012-05-26 16:14:36 -0700
commitcaf8a9b2b301aba06735d403317b75b41df59bfe (patch)
treebfafb3cc0cf8a2f2394b4ed721e7c3d4891b78ab /lib/strftime.c
parentfe453991eafc32a890297a2003ac532b9f579f92 (diff)
downloademacs-caf8a9b2b301aba06735d403317b75b41df59bfe.tar.gz
emacs-caf8a9b2b301aba06735d403317b75b41df59bfe.zip
Merge from gnulib.
Fixes: debbugs:11527
Diffstat (limited to 'lib/strftime.c')
-rw-r--r--lib/strftime.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/strftime.c b/lib/strftime.c
index acebc9adfad..c7b8eb5ef7e 100644
--- a/lib/strftime.c
+++ b/lib/strftime.c
@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2001, 2003-2007, 2009-2011 Free Software Foundation, Inc. 1/* Copyright (C) 1991-2001, 2003-2007, 2009-2012 Free Software Foundation, Inc.
2 2
3 NOTE: The canonical source of this file is maintained with the GNU C Library. 3 NOTE: The canonical source of this file is maintained with the GNU C Library.
4 Bugs can be reported to bug-glibc@prep.ai.mit.edu. 4 Bugs can be reported to bug-glibc@prep.ai.mit.edu.
@@ -40,7 +40,7 @@
40extern char *tzname[]; 40extern char *tzname[];
41#endif 41#endif
42 42
43/* Do multibyte processing if multibytes are supported, unless 43/* Do multibyte processing if multibyte encodings are supported, unless
44 multibyte sequences are safe in formats. Multibyte sequences are 44 multibyte sequences are safe in formats. Multibyte sequences are
45 safe if they cannot contain byte sequences that look like format 45 safe if they cannot contain byte sequences that look like format
46 conversion specifications. The multibyte encodings used by the 46 conversion specifications. The multibyte encodings used by the
@@ -289,7 +289,7 @@ extern char *tzname[];
289# define TOLOWER(Ch, L) tolower (Ch) 289# define TOLOWER(Ch, L) tolower (Ch)
290# endif 290# endif
291#endif 291#endif
292/* We don't use `isdigit' here since the locale dependent 292/* We don't use 'isdigit' here since the locale dependent
293 interpretation is not what we want here. We only need to accept 293 interpretation is not what we want here. We only need to accept
294 the arabic digits in the ASCII range. One day there is perhaps a 294 the arabic digits in the ASCII range. One day there is perhaps a
295 more reliable way to accept other sets of digits. */ 295 more reliable way to accept other sets of digits. */
@@ -437,7 +437,7 @@ strftime_case_ (bool upcase, STREAM_OR_CHAR_T *s,
437#ifdef _NL_CURRENT 437#ifdef _NL_CURRENT
438 /* We cannot make the following values variables since we must delay 438 /* We cannot make the following values variables since we must delay
439 the evaluation of these values until really needed since some 439 the evaluation of these values until really needed since some
440 expressions might not be valid in every situation. The `struct tm' 440 expressions might not be valid in every situation. The 'struct tm'
441 might be generated by a strptime() call that initialized 441 might be generated by a strptime() call that initialized
442 only a few elements. Dereference the pointers only if the format 442 only a few elements. Dereference the pointers only if the format
443 requires this. Then it is ok to fail if the pointers are invalid. */ 443 requires this. Then it is ok to fail if the pointers are invalid. */
@@ -896,7 +896,7 @@ strftime_case_ (bool upcase, STREAM_OR_CHAR_T *s,
896 goto do_number_body; 896 goto do_number_body;
897 897
898 do_number_spacepad: 898 do_number_spacepad:
899 /* Force `_' flag unless overridden by `0' or `-' flag. */ 899 /* Force '_' flag unless overridden by '0' or '-' flag. */
900 if (pad != L_('0') && pad != L_('-')) 900 if (pad != L_('0') && pad != L_('-'))
901 pad = L_('_'); 901 pad = L_('_');
902 902