Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [christos-time_t] src/lib/libc/time
Module Name: src
Committed By: christos
Date: Sun Nov 23 21:41:08 UTC 2008
Modified Files:
src/lib/libc/time [christos-time_t]: localtime.c
Log Message:
- don't play with int timezone here. Let the compat module deal with it.
- don't assume that time_t is 32 bits, convert 0x80000000 to be computed.
- fix bug in timesub dealing with 64 bit time_t on 32 bit machines. years
need to be time_t's not integers to prevent overflow caused by the binary
search in time2sub. This was causing a lot of things to infinite loop,
and now most things work.
To generate a diff of this commit:
cvs rdiff -r1.41.6.3 -r1.41.6.4 src/lib/libc/time/localtime.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index