Overview
| Comment: | 2004-05-14 Kevin B. Kenny <[email protected]> * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
44753d7a62927a3ae318a223fb94a8f3 |
| User & Date: | kennykb on 2004-05-14 21:43:28.000 |
| Other Links: | manifest | tags |
Context
|
2004-05-16
| ||
| 17:25 | * generic/tclCompile.h: * generic/tclCompile.c: * generic/tclExecute.c: changed implementation of... check-in: 73b4cc9518 user: msofer tags: trunk | |
|
2004-05-14
| ||
| 21:43 | 2004-05-14 Kevin B. Kenny <[email protected]> * generic/tclInt.decls: Promoted TclpLocaltim... check-in: 44753d7a62 user: kennykb tags: trunk | |
| 19:15 | * generic/tclExecute.h: * generic/tclCompile.h: the math functions receive a pointer to top of th... check-in: 787f793f30 user: msofer tags: trunk | |
Changes
Modified ChangeLog
from [26037600ab]
to [716ad3edbe].
[diff]
Modified generic/tclClock.c
from [799853d1e7]
to [c22c4e3d22].
[diff]
Modified generic/tclInt.decls
from [2acfaae147]
to [b021cd3436].
[diff]
Modified generic/tclIntDecls.h
from [bcded1527b]
to [e0689f76b6].
[diff]
Modified generic/tclIntPlatDecls.h
from [7a7d923df7]
to [135c942166].
[diff]
Modified generic/tclStubInit.c
from [2b38ff74e8]
to [2b82d23941].
[diff]
Modified tests/clock.test
from [1cf9d4bdf6]
to [cfccd274fa].
[diff]
Modified unix/tclUnixPort.h
from [213c62eaad]
to [55fd476230].
[diff]
Modified unix/tclUnixThrd.c
from [055f8c03c0]
to [163da14f85].
[diff]
Modified unix/tclUnixTime.c
from [8a8c7b1ba5]
to [f1af06c369].
[diff]
Modified win/tclWinTime.c
from [d54c900752]
to [a94f5505d7].
[diff]