Artifacts Associated With Ticket 218929ffffffffff
Ticket change [ce47a18aa9] (rid 96029) by nobody on 2000-10-26 01:08:01:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2804 Bug Version: 8.2 SubmitDate: '1999-09-16' LastModified: '1999-09-20' Severity: MED Status: Released Submitter: techsupp ChangedBy: hobbs RelatedBugIDs: 2714 2834 OS: All OSVersion: 4.oe Machine: Other FixedDate: '1999-09-20' FixedInVersion: 8.2.1 ClosedDate: '2000-10-25' Name: Evelino Bomitali Extensions: none Comments: The documentation in the doc distribution directory states that scan should have at least a variable in which a result could be stored as in "scan string format varName ?varName ...?" . However the message returned by Tcl_ScanObjCmd allows for no variables as in "string format ?varName varName ...?". I sticked to the previous (8.0) release and required at least one variable. ReproducibleScript: I run make test in the distribution of tcl 8.2. The test scan 3.4 fails due to the command "scan {] %d" ObservedBehavior: % scan {} %d unable to alloc 0 bytes Abort process (core dumped) DesiredBehavior: % scan {} %d wrong # args: should be "scan string format ?varName varName ...?" Patch: 495c495,496 < if (objc < 4) { --- > > if (objc < 3) { 497c498 < "string format varName ?varName ...?"); --- > "string format ?varName varName ...?"); PatchFiles: tclScan.c Fixed the alloc bug in 8.2.1. -- 09/20/1999 hobbs - foundin initialized to: "obsolete: 8.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Bug in scan command"
- type initialized to: "Bug"
Ticket change [489c29b3be] (rid 99922) by welch on 2000-10-26 08:32:13:
- closedate changed to: "2000-10-26T01:32:13"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [f4d5b24da5] (rid 129991) by dgp on 2001-04-19 03:27:56:
- closedate changed to: "2001-04-18T20:27:56"
- closer changed to: "dgp"
- subsystem changed to: "23. [scan]"