Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Changes for TIP #73

Closed / Fixed483500ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-11-19 17:28:35
This patch implements the change described in TIP #73.

It replaces all uses of TclpGetTime with Tcl_GetTime, 
and adds the latter to the Stubs table and the library
documentation.  It also corrects bug #478847 (the
change overlaps with the other changes).
kennykbplain2001-11-20 00:29:05
File Added - 13539: tip73.patch
dkfplain2001-11-20 17:28:24
Logged In: YES 
user_id=79902

Stick an extra pair of parentheses around the casting of the
difference between seconds (in the changes to the [time]
implementation in tclCmdMZ.c) so that it is clear that this
operation is being done before the multiply by 1e6, and the
change to tclCmdMZ.c will be OK with me (assuming all other
changes are OKed too.)

I *hate* relying on the obscurer C precedence rules (is the
monadic cast operator more tightly binding than the diadic
multiply?) especially when doing maintenance.  Adding some
extra parens removes the ambiguity. :^)
kennykbplain2001-11-20 22:24:54
Logged In: YES 
user_id=99768

Donal's suggestion is incorporated.
kennykbplain2001-11-20 22:24:55
File Deleted - 13539: 



File Added - 13578: tip73.patch
hobbsplain2001-11-21 09:29:17
Logged In: YES 
user_id=72656

commited to 8.4a4cvs.  Successfully tested on AIX4.3, HP11, 
Solaris, Linux and Win2K.
Log in (anonymous is fine) to add a comment.

Attachments: