This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog libc/strptime.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 12 May 2011 13:44:54 -0000
- Subject: src/winsup/cygwin ChangeLog libc/strptime.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2011-05-12 13:44:54
Modified files:
winsup/cygwin : ChangeLog
winsup/cygwin/libc: strptime.cc
Log message:
Based on newlib patch to strptime by Peter Rosin <peda@lysator.liu.se>:
* libc/time/strptime.c (is_leap_year): New static function.
(first_day): Ditto.
(__strptime): Fill in tm_yday when all of tm_year, tm_mon and tm_mday
are updated. Fill in tm_mon, tm_mday and tm_wday when both of tm_year
and tm_yday are updated.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5345&r2=1.5346
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/strptime.cc.diff?cvsroot=src&r1=1.8&r2=1.9