Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-09-20
08:14 • Closed ticket [412696ffff]: Scan command fails on large hex/octal #s plus 7 ... artifact: 8e09c7ad16 user: hobbs
07:23 • Ticket [412696ffff]: 5 changes artifact: 2cdb8cdab4 user: hobbs
07:23 • Add attachment scan.diff to ticket [412696ffff] artifact: 1a290ef598 user: hobbs
2001-08-25
00:52 • Ticket [412696ffff] Scan command fails on large hex/octal #s status still Op... artifact: 11cb268013 user: andreas_kupries
2001-08-07
07:28 • Ticket [412696ffff]: 2 changes artifact: c95efc93e2 user: hobbs
2001-03-31
21:04 • Ticket [412696ffff]: 4 changes artifact: a8533e06ce user: dmhqueens
21:04 • Add attachment tclScan.diff to ticket [412696ffff] artifact: 745cb8c82f user: dmhqueens
14:04 • New ticket [412696ffff] Scan command fails on large hex/octal #s. artifact: ceff4fda29 user: dmhqueens

Scan command fails on large hex/octal #s

Closed / Fixed412696ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2001-03-31 14:04:40
The "scan" command reports MAXLINT (strto[u]l's error
return) for any hex or octal value above 0xFFFFFFF. 
This bug is still present in 8.4a2.  I am submitting a
"diff" file for TclScan.c.
dmhqueensplain2001-03-31 21:04:41
File Added - 4809: tclScan.diff
hobbs Ticket [412696ffff]: 2 changes [History diff]2001-08-07 07:28:51
andreas_kupries Ticket [412696ffff]: 2 changes [History diff]2001-08-25 00:52:22
hobbsplain2001-09-20 07:23:19
File Added - 10992: scan.diff

Logged In: YES 
user_id=72656

This actually changes the behavior of scan, and no longer 
passes the test suite - to not allow negative numbers in %o 
and %x.  Attached is a possible alternative patch.
hobbsplain2001-09-20 08:14:01
Logged In: YES 
user_id=72656

fixed in 8.4a4cvs and core-8-3-1-branch.
Log in (anonymous is fine) to add a comment.

Attachments: