Re: strptime doesn't fill in tm_wday and tm_yday.

2011-05-12 Thread Corinna Vinschen
On May 12 13:11, Corinna Vinschen wrote: > On May 12 11:01, Peter Rosin wrote: > > Maybe someone with a copyright assignment [...] Btw., that could be you! It's not that hard to send one. See the "Before you get started" section on http://cygwin.com/contrib.html,. Corinna -- Corinna Vinsch

Re: strptime doesn't fill in tm_wday and tm_yday.

2011-05-12 Thread Corinna Vinschen
On May 12 11:01, Peter Rosin wrote: > Den 2011-05-11 19:34 skrev Corinna Vinschen: > > On May 11 16:52, Peter Rosin wrote: > >> Hello! > >> > >> The following STC hints at a problem in strptime: > ... > >> Opengroup has this to say about only filling in some fields: > >> > >>"It is unspecified

Re: strptime doesn't fill in tm_wday and tm_yday.

2011-05-12 Thread Peter Rosin
Den 2011-05-11 19:34 skrev Corinna Vinschen: > On May 11 16:52, Peter Rosin wrote: >> Hello! >> >> The following STC hints at a problem in strptime: ... >> Opengroup has this to say about only filling in some fields: >> >> "It is unspecified whether multiple calls to strptime() >> using t

Re: strptime doesn't fill in tm_wday and tm_yday.

2011-05-11 Thread Corinna Vinschen
On May 11 16:52, Peter Rosin wrote: > Hello! > > The following STC hints at a problem in strptime: > > ---8< > #include > #include > > int > main(void) > { > /* seed tm with some garbage */ > struct tm tm = { > 0, 0, 0,

strptime doesn't fill in tm_wday and tm_yday.

2011-05-11 Thread Peter Rosin
Hello! The following STC hints at a problem in strptime: ---8< #include #include int main(void) { /* seed tm with some garbage */ struct tm tm = { 0, 0, 0, /* s m h */ 0, 0, 0, /* d m y */