From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21228 invoked by alias); 15 Sep 2007 14:29:43 -0000 Received: (qmail 21214 invoked by uid 9341); 15 Sep 2007 14:29:43 -0000 Date: Sat, 15 Sep 2007 14:29:00 -0000 Message-ID: <20070915142943.21212.qmail@sourceware.org> From: asl@sourceware.org To: ecos-cvs@ecos.sourceware.org Subject: ecos/packages/language/c/libc/time/current Cha ... Mailing-List: contact ecos-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: , Sender: ecos-cvs-owner@sourceware.org List-Subscribe: X-SW-Source: 2007/txt/msg00126.txt.bz2 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.