Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-02-02
06:56 • Closed ticket [656660ffff]: clock -format is not MT safe on Solaris plus 3 o... artifact: 3f446f6c58 user: kennykb
2002-12-21
20:30 • Ticket [656660ffff]: 5 changes artifact: e6cdcbab8a user: rmax
2002-12-20
16:35 • Ticket [656660ffff]: 6 changes artifact: 558b386636 user: dkf
09:03 • New ticket [656660ffff]. artifact: fbcc07a01c user: nobody

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.