Tcl Source Code

View Ticket
Login
Ticket UUID: 1805887
Title: string is integer -failindex fails for 0b & 0o
Type: Bug Version: obsolete: 8.5b1
Submitter: dgp Created on: 2007-10-01 19:29:24
Subsystem: 48. Number Handling Assigned To: dgp
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2007-10-12 04:34:48
Resolution: Fixed Closed By: dgp
    Closed on: 2007-10-11 21:34:48
Description:
% string is integer -failindex x 0b0101010102234
0
% set x
1
% string is integer -failindex y 0o12399
0
% set y
1
User Comments: dgp added on 2007-10-12 04:34:48:
Logged In: YES 
user_id=80530
Originator: YES

Fix committed

dgp added on 2007-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

Attachments: