Overview
| Artifact ID: | e7b642b5ac337ac90f4ff29e9fa5fb49b3c65279 |
|---|---|
| Ticket: | 218079ffffffffffffffffffffffffffffffffff
Return value set by Tcl_SetResult affects all following proc |
| User & Date: | nobody on 2000-10-26 00:52:56 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1660 Bug Version: 8.0.3 SubmitDate: '1999-03-29' LastModified: '1999-09-13' Severity: SER Status: Closed Submitter: pat ChangedBy: hobbs OS: Solaris OSVersion: 6.5 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-09-13' Name: Jim A. Galbraith ReproducibleScript: I have written a 'C' procedure that calls Tcl_SetResult(): Tcl_SetResult(interp, "0", TCL_VOLATILE); ObservedBehavior: After calling this procedure, all procedure calls appear to have my 0 prepended to the real return string. For example, if I call open after calling my procedure, the file handle = "0file4" (no space between 0 & file4. If I call exec, the PID returned = "0 1234" (space between the 0 and 1234). DesiredBehavior: I read that the return string is supposed to be reset prior to calling each procedure. It appears that this is not happening. This looks likely to be a programming error (very likely with the mentioned use of the func). We would need to see more code to classify this as anything else. -- 09/13/1999 hobbs - foundin changed to: "obsolete: 8.0.3"
- 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:
Return value set by Tcl_SetResult affects all following proc
- type changed to: "Bug"