strftime: fix a bug in yesterday's change
authorJim Meyering <meyering@redhat.com>
Mon, 21 Mar 2011 14:32:54 +0000 (15:32 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 21 Mar 2011 14:38:14 +0000 (15:38 +0100)
commit4cae3d45b2bad5f45adef5a0fab285313b58eb69
treea9fa18ed68a50b7021c35d7d129a5c75f25080e6
parentcf9a160da22f47cad0ebefbc69fee523092ffda9
strftime: fix a bug in yesterday's change

* lib/strftime.c (add): Accommodate width's initial value of -1.
Otherwise, nstrftime would copy uninitialized data into
the result buffer.
ChangeLog
lib/strftime.c