I will quite happily play the straight man, here: why are `gmtoff` and `zone` 
different in `first_tm` vs `second_tm`?

David

> On Jan 25, 2016, at 20:57, Galen Seitz <[email protected]> wrote:
> 
> On 01/25/16 17:23, logical american wrote:
>> To C geeks:
>> 
>> Could someone who has freetime on their linux system compile the
>> following C program and see if they can duplicate these results?
>> I found a strange 422 second difference between the 2 times.
>> 
>> ...snip...
> 
> galens@lion:~$ make mktime_test
> cc     mktime_test.c   -o mktime_test
> galens@lion:~$ ./mktime_test
> first struct tm object dump: 1 7 12 18 10 -17 0 321 0 -28378 LMT
> second struct tm object dump: 2 7 12 18 10 -17 0 321 0 -28800 PST
> First time tick: -2717640001 Second time tick: -2717639578 Difference: -423 
> secs.  Should be -1 seconds instead.
> Is this discrepancy due to the 7 min 2 sec difference between PST and Local 
> Mean Time (Solar Time) ?
> 
> 
> galen
> --
> Galen Seitz
> [email protected]
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

--

David - Offbeat
dafydd - Online         http://pgp.mit.edu/

----5----1----5----2----5----3----5----4----5----5----5----6----5----7--

Dr. Viktor Frankenstein entered into a body building competition
only to find he has seriously misunderstood the objective.



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to