Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-11-10
04:48 • Closed ticket [1350293fff]: after failing to recognize negative number plu... artifact: 3deb1cc81c user: kennykb
04:46 • Ticket [1350293fff]: 4 changes artifact: f586d32ae7 user: kennykb
2005-11-07
13:53 • New ticket [1350293fff]. artifact: 72842bfc1e user: kaitzschu

[after] failing to recognize negative number

Closed / Fixed1350293fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-11-07 13:53:37
Observed:
% after -1; puts "That was past."
bad argument "-1": must be cancel, idle, info, or a number

Desired:
% after -1; puts "That was past."
That was past.

Probable cause:
In generic/tclTimer.c line 811 or so,
-- if (objv[1]->typePtr == &tclIntType) {
nd 816 or so,
-- if (isdigit(UCHAR(argString[0]))) { /* INTL: digit */
do not play right (or -1 does not get intrep for integer).
kennykbplain2005-11-10 04:46:25
Logged In: YES 
user_id=99768

Fixed in HEAD and core-8-4-branch.
kennykb Closed ticket [1350293fff]. [History diff]2005-11-10 04:48:23
Log in (anonymous is fine) to add a comment.