Skip to content
Tcl Source Code History Of Ticket 219114
Login

History Of Ticket 219114

Artifacts Associated With Ticket 219114

  1. Ticket change [c3c4f2816b] (rid 111721) by nobody on 2000-10-26 01:11:00:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 6078 Bug
      Version: 8.3.1
      SubmitDate: '2000-08-03'
      LastModified: '2000-08-07'
      Severity: LOW
      Status: Released
      Submitter: awb
      ChangedBy: ericm
      OS: All
      FixedDate: '2000-08-07'
      FixedInVersion: 8.4a2
      ClosedDate: '2000-10-25'
      
      
      If Tcl_WrongNumArgs is called with 0 for objc, an unnecessary space
      is generated in the text representing the correct form of the 
      command. Here's an example from a test case for code using the following
      call to Tcl_WrongNumArgs:
      
      if (objc < 2) {
          Tcl_WrongNumArgs(interp, 0, objv, "<fooHandle> cmd ?arg ...?");
          return TCL_ERROR;
      }   
      
      ==== fooCmd-1.1 fooCmdProc FAILED
      ---- Result was:
      1 {wrong # args: should be " <fooHandle> cmd ?arg ...?"}
      ---- Result should have been:
      1 {wrong # args: should be "<fooHandle> cmd ?arg ...?"}
      ==== fooCmd-1.1 FAILED
      
      I fixed this for 8.4a2, and added a test function and tests to check it.  Thanks for finding and reporting this bug.
      
      - eric
      
      -- 08/07/2000 ericm
      
      
      
    4. foundin initialized to: "obsolete: 8.3.1"
    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: "Tcl_WrongNumArgs adds extra space for objc = 0"
    11. type initialized to: "Bug"
  2. Ticket change [f1258ca434] (rid 109311) by welch on 2000-10-26 08:34:57:

    1. closedate changed to: "2000-10-26T01:34:57"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [6600ff6e0d] (rid 102638) by dgp on 2001-04-20 02:36:36:

    1. closedate changed to: "2001-04-19T19:36:36"
    2. closer changed to: "dgp"
    3. subsystem changed to: "13. Index Object"