]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* strftime.c (my_strftime): If the underlying strftime returns 0
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2005 05:33:16 +0000 (05:33 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2005 05:33:16 +0000 (05:33 +0000)
(which shouldn't happen), generate nothing instead of returning 0
immediately, so that nstrftime (NULL, ...) doesn't return 0.

lib/ChangeLog

index 1d908a231b71a5080e9ceb0f507de85e0adf598f..4d2260dab5ff6bbb61fdf6045a0f2ee6566d693c 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * strftime.c (my_strftime): If the underlying strftime returns 0
+       (which shouldn't happen), generate nothing instead of returning 0
+       immediately, so that nstrftime (NULL, ...) doesn't return 0.
+
 2005-03-15  Paul Eggert  <eggert@cs.ucla.edu>
 
        * strftime.c (my_strftime): Prepend space to format so that we can