From 2f82566ff2228a7d96d58d378fb6070d849124f1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 14 Mar 2005 23:23:25 +0000 Subject: * strftime.c (my_strftime) [HAVE_STRFTIME && ! (_NL_CURRENT && HAVE_STRUCT_ERA_ENTRY)]: Initialize the first byte of ubuf[]. --- lib/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index 4d0e73a81..236184d4f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,12 @@ +2005-03-14 Jim Meyering + + * strftime.c (my_strftime) [HAVE_STRFTIME && ! (_NL_CURRENT + && HAVE_STRUCT_ERA_ENTRY)]: Initialize the first byte of ubuf[] + to be nonzero so that we (and caller) can detect the difference + between a valid zero-length expansion and an error return, even + when the underlying strftime fails before writing anything into + that location. + 2005-03-11 Jim Meyering * getdate.c: Regenerate using bison-2.0. -- cgit v1.2.3-70-g09d2