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 | core-8-4-branch |
| Files: | files | file ages | folders |
| SHA1: |
27f78ca91bc1b33c909fb1eac370a3d4 |
| User & Date: | kennykb on 2004-05-14 21:41:04.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2004-05-17
| ||
| 09:22 | Docbug. [Bug 953374] check-in: 388a282fae user: dkf tags: core-8-4-branch | |
|
2004-05-14
| ||
| 21:41 | 2004-05-14 Kevin B. Kenny <[email protected]> * generic/tclInt.decls: Promoted TclpLocaltim... check-in: 27f78ca91b user: kennykb tags: core-8-4-branch | |
|
2004-05-10
| ||
| 20:57 | no message check-in: 993c7e0a69 user: davygrvy tags: core-8-4-branch | |
Changes
Modified ChangeLog
from [b88aa2e7a8]
to [8b445e87d3].
[diff]
Modified generic/tclClock.c
from [307cd8a88e]
to [12c672c074].
[diff]
Modified generic/tclInt.decls
from [da223d82aa]
to [ded92da181].
[diff]
Modified generic/tclIntDecls.h
from [cd0596c6fe]
to [6f91e6b2a6].
[diff]
Modified generic/tclIntPlatDecls.h
from [203ac28626]
to [35ba81f90d].
[diff]
Modified generic/tclStubInit.c
from [e67138ea5f]
to [81600f00e1].
[diff]
Modified tests/clock.test
from [5ea6988b15]
to [1ba1eb047b].
[diff]
Modified unix/tclUnixPort.h
from [415d9d8e5e]
to [e4100ff19f].
[diff]
Modified unix/tclUnixThrd.c
from [b38d8ee151]
to [107ea6d82e].
[diff]
Modified unix/tclUnixTime.c
from [b7ee9e7437]
to [5b89601487].
[diff]
Modified win/tclWinTime.c
from [75755a835a]
to [1720c26bac].
[diff]