[uClibc] mktime returns -1

Erik Andersen andersen at codepoet.org
Thu Jun 9 19:17:10 UTC 2005


On Thu Jun 09, 2005 at 08:18:17AM -0400, Brad Kemp wrote:
> What we found was that strptime was putting junk in the tm-sec, tm_wday
> and tm_yday fields of the struct tm.
> resetting these to 0 after the call to strptime seemed to fix our problem.
> Brad

I believe you are referring to:
http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/misc/time/time.c?rev=10282&r1=9490&r2=10282

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list