Artifacts Associated With Ticket 219114
Ticket change [c3c4f2816b] (rid 111721) by nobody on 2000-10-26 01:11:00:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "obsolete: 8.3.1"
- 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: "Tcl_WrongNumArgs adds extra space for objc = 0"
- type initialized to: "Bug"
Ticket change [f1258ca434] (rid 109311) by welch on 2000-10-26 08:34:57:
- closedate changed to: "2000-10-26T01:34:57"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [6600ff6e0d] (rid 102638) by dgp on 2001-04-20 02:36:36:
- closedate changed to: "2001-04-19T19:36:36"
- closer changed to: "dgp"
- subsystem changed to: "13. Index Object"