* 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.
This commit is contained in:
Paul Eggert committed 2005-03-19 05:33:16 +00:00
1 parent 18445fac86
commit bd73d9d8b6
1 file changed
+6
+6
View 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