This is the mail archive of the
ecos-cvs@sourceware.org
mailing list for the ecos project.
ecos/packages/language/c/libc/time/current Cha ...
- From: asl at sourceware dot org
- To: ecos-cvs at ecos dot sourceware dot org
- Date: 15 Sep 2007 14:29:43 -0000
- Subject: ecos/packages/language/c/libc/time/current Cha ...
CVSROOT: /cvs/ecos
Module name: ecos
Changes by: asl@sourceware.org 2007-09-15 14:29:43
Modified files:
packages/language/c/libc/time/current: ChangeLog
packages/language/c/libc/time/current/tests: strptime.c
packages/language/c/libc/time/current/src: strftime.cxx
Log message:
* tests/strptime.c (test): Extend the test so that it triggers the
previous bug and shows that the fix works.
* src/strftime.cxx: Moved CYG_PRECONDITIONs to do_format() to
make strftime() only complain about illegal struct tm contents if
these are actually used. Fixes a bug with tests/strptime which
would fail because tm->tm_yday was uninitialized.