Artifacts Associated With Ticket 218483ffffffffff
Ticket change [5d785ab1e2] (rid 115468) by nobody on 2000-10-26 01:01:06:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 689 Bug Version: 8.0p2 SubmitDate: '1998-10-02' LastModified: '1999-08-06' Severity: MED Status: Released Submitter: hershey ChangedBy: hobbs OS: All OSVersion: NA Machine: NA FixedDate: '1999-08-06' FixedInVersion: 8.1 ClosedDate: '2000-10-25' Hi, info complete [list 1 2 [format binary H 00]] used to return 0, because the completer was using the string based routines. This is a simple patch to fix the behavior: --- tcl8.0.3/generic/tclCmdIL.c Sat Aug 8 04:41:58 1998 +++ tcl8.0.3.mine/generic/tclCmdIL.c Thu Sep 10 09:32:17 1998 @@ -762,19 +762,17 @@ int objc; /* Number of arguments. */ Tcl_Obj *CONST objv[]; /* Argument objects. */ { - char *command; - if (objc != 3) { Tcl_WrongNumArgs(interp, 2, objv, "command"); return TCL_ERROR; } - command = Tcl_GetStringFromObj(objv[2], (int *) NULL); - if (Tcl_CommandComplete(command)) { + if (TclObjCommandComplete(objv[2])) { Tcl_SetIntObj(Tcl_GetObjResult(interp), 1); } else { Tcl_SetIntObj(Tcl_GetObjResult(interp), 0); } + return TCL_OK; } This was fixed in 8.1 with the intro of Unicode and full binary support through all of Tcl and Tk. Tcl was not fully binary-safe in 8.0. -- 08/06/1999 hobbs - foundin initialized to: "obsolete: 8.0p2"
- 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 "info complete" command called with binary strings
- type initialized to: "Bug"
Ticket change [e64c8d0fe4] (rid 104275) by welch on 2000-10-26 08:23:17:
- closedate changed to: "2000-10-26T01:23:17"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [2714aea9fe] (rid 88455) by dgp on 2001-04-16 20:32:38:
- closedate changed to: "2001-04-16T13:32:38"
- closer changed to: "dgp"
- subsystem changed to: "17. Commands I-L"
- title changed to:
bug in "info complete" command called with binary strings