OSDN Git Service

Based on newlib patch to strptime by Peter Rosin <peda@lysator.liu.se>:
authorcorinna <corinna>
Thu, 12 May 2011 13:44:53 +0000 (13:44 +0000)
committercorinna <corinna>
Thu, 12 May 2011 13:44:53 +0000 (13:44 +0000)
commit8538a65e0dfea40bc54288b2e4c9b4d7175cca23
treee418c1173c091a1b9979bb4cbd63456c783c1436
parent4cde62e6456672ef9518e19861053abac89ffaf7
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.
winsup/cygwin/ChangeLog
winsup/cygwin/libc/strptime.cc