Ticket UUID: | 412696 | |||
Title: | Scan command fails on large hex/octal #s | |||
Type: | Patch | Version: | None | |
Submitter: | dmhqueens | Created on: | 2001-03-31 14:04:40 | |
Subsystem: | 23. [scan] | Assigned To: | hobbs | |
Priority: | 4 | Severity: | ||
Status: | Closed | Last Modified: | 2001-09-20 08:14:01 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2001-09-20 01:14:01 | |||
Description: |
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. | |||
User Comments: |
hobbs added on 2001-09-20 08:14:01:
Logged In: YES user_id=72656 fixed in 8.4a4cvs and core-8-3-1-branch. hobbs added on 2001-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. dmhqueens added on 2001-03-31 21:04:41: File Added - 4809: tclScan.diff |