* strftime.c (my_strftime): If the underlying strftime returns 0
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2005 05:34:47 +0000 (05:34 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2005 05:34:47 +0000 (05:34 +0000)
(which shouldn't happen), generate nothing instead of returning 0
immediately, so that nstrftime (NULL, ...) doesn't return 0.

lib/ChangeLog

index 5b2626b51ed0735e4c5b6068c3b9dd80333842ff..a619c80378acc78a425f79b00f4fd8b2d015fdef 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-16  Bruno Haible  <bruno@clisp.org>
 
        * stdint_.h: Use HAVE_LONG_LONG_64BIT instead of HAVE_LONGLONG_64BIT.