Skip to content
Tcl Source Code View Ticket
Login

View Ticket

string is integer -failindex fails for 0b & 0o

Closed / Fixed1805887fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-10-01 19:29:24
% string is integer -failindex x 0b0101010102234
0
% set x
1
% string is integer -failindex y 0o12399
0
% set y
1
dgpplain2007-10-12 03:58:38
File Added - 249273: 1805887.patch

Logged In: YES 
user_id=80530
Originator: YES


Attached patch corrects this bug,
adds test, and removes much now
outdated support for compat/strto(u)ll
routines that Tcl no longer users.
File Added: 1805887.patch
dgpplain2007-10-12 04:34:48
Logged In: YES 
user_id=80530
Originator: YES

Fix committed
Log in (anonymous is fine) to add a comment.

Attachments: