Skip to content
Tcl Source Code View Ticket
Login

View Ticket

clock -format is not MT safe on Solaris

Closed / Fixed656660ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-12-20 09:03:16
The clock command with -format option is not MT safe,
due to
it calls tzset( ), which is not a MT-safe system call. 
This can be checked out at
[Tcl8.4.1_Install_DIR]/generic/tclClock.c,
function FormatClock( ).
dkfplain2002-12-20 16:35:21
Logged In: YES 
user_id=79902

I think it was Reinhard that added the tz handling...
rmaxplain2002-12-21 20:30:37
Logged In: YES 
user_id=124643

No, I've only added locale-awareness to tclUnixTime.c.
The tzset() calls in tclClock.c haven't been touched since
Tcl is under CVS control (8.0.2).
kennykb Closed ticket [656660ffff]. [History diff]2003-02-02 06:56:47
Log in (anonymous is fine) to add a comment.