[PLUG] Question on mktime() results
Russell Senior
russell at personaltelco.net
Wed Jan 27 07:17:22 UTC 2016
>>>>> "Russell" == Russell Senior <russell at personaltelco.net> writes:
>>>>> "logical" == logical american <website.reader3 at gmail.com> writes:
logical> That is the $64,000 question, I want to know why the gcc
logical> compiler changed the timezone to LMT on its own.
Russell> I'm guessing it's an artifact of glibc's mktime()
Russell> implementation. I'd suggest looking that the glibc source.
Also, check the sizeof your time_t. I suspect you are wrapping your
integer. I'm also not sure mktime() is intended to be valid in that
date range.
--
Russell Senior, President
russell at personaltelco.net
More information about the PLUG
mailing list