strptime doesn't fill in tm_wday and tm_yday.
Fri May 13 05:11:00 GMT 2011
On May 12 10:06, Peter Rosin wrote:
> Here's a patch for the problems described in  and for some
> other variations on that theme, that I was nearly finished with
> when I realized that Cygwin had its own strptime.
> I used the below test program.
>  http://cygwin.com/ml/cygwin/2011-05/msg00159.html
> * libc/time/strptime.c (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.
Thanks, applied. FYI, I also applied an equivalent patch to Cygwin's
Cygwin Project Co-Leader
More information about the Newlib