Skip to content
Tcl Source Code History Of Ticket 218929ffffffffff
Login

History Of Ticket 218929ffffffffff

Artifacts Associated With Ticket 218929ffffffffff

  1. Ticket change [ce47a18aa9] (rid 96029) by nobody on 2000-10-26 01:08:01:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "obsolete: 8.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Bug in scan command"
    11. type initialized to: "Bug"
  2. Ticket change [489c29b3be] (rid 99922) by welch on 2000-10-26 08:32:13:

    1. closedate changed to: "2000-10-26T01:32:13"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [f4d5b24da5] (rid 129991) by dgp on 2001-04-19 03:27:56:

    1. closedate changed to: "2001-04-18T20:27:56"
    2. closer changed to: "dgp"
    3. subsystem changed to: "23. [scan]"