Overview
| Artifact ID: | ce47a18aa97d3aef5344430a7907e436bbf629df |
|---|---|
| Ticket: | 218929ffffffffffffffffffffffffffffffffff
Bug in scan command |
| User & Date: | nobody on 2000-10-26 01:08:01 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Bug in scan command"
- type changed to: "Bug"