diff options
| author | Kevin B Kenny <kennykb@acm.org> | 2004-05-14 21:41:04 (GMT) |
|---|---|---|
| committer | Kevin B Kenny <kennykb@acm.org> | 2004-05-14 21:41:04 (GMT) |
| commit | 804d40e8e6bba6a8f13b3dae62b5606c48659695 (patch) | |
| tree | c43bfd28868eb27530e825eb959a36371420aeb7 /generic/tclDecls.h | |
| parent | 2ac43ad26550605b77fd55e396cecab49f823a61 (diff) | |
| download | tcl-804d40e8e6bba6a8f13b3dae62b5606c48659695.zip tcl-804d40e8e6bba6a8f13b3dae62b5606c48659695.tar.gz tcl-804d40e8e6bba6a8f13b3dae62b5606c48659695.tar.bz2 | |
2004-05-14 Kevin B. Kenny <kennykb@acm.org>
* 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.
Diffstat (limited to 'generic/tclDecls.h')
0 files changed, 0 insertions, 0 deletions
