Artifacts Associated With Ticket 1109294fffffffffffffffffffffffffffffffff
Ticket change [a57052887d] (rid 110380) by davidw on 2005-01-25 18:50:40:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The comments for int TclCreatePipeline(interp, argc, argv, pidArrayPtr, inPipePtr, outPipePtr, errFilePtr) say that: CONST char **argv;/* Array of strings describing commands in * pipeline plus I/O redirection with <, * <<, >, etc. Argv[argc] must be NULL. */ But the documentation for Tcl_OpenFileChannel makes no mention of this! Either the documentation should be changed, or the command should dispense with the final NULL requirement (it has an argc, so why does it need a final NULL, too?). - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "davidw"
- subsystem initialized to: "25. Channel System"
- title initialized to:
Tcl_OpenFileChannel doesn't say that argv must end in NULL
- type initialized to: "Bug"
Ticket change [54599f27db] (rid 93933) by andreas_kupries on 2005-01-26 02:02:04:
- icomment:
Logged In: YES user_id=75003 Note: David had a mem corruption issue and crash because of this. The easy fix, updating the docs, might not be the right fix. This needs a deeper look.
- login: "andreas_kupries"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "andreas_kupries"
- icomment:
Ticket change [7d359aeaf8] (rid 97206) by davidw on 2005-01-26 06:15:41:
- icomment:
Logged In: YES user_id=240 I whipped up the following patch, which eliminates the requirement for argv[argc] to exist and be NULL. It works for me, and seems to pass the relevant tests. I've got a nasty case of the flu, so my addled brain may have missed something:-)
- login: "davidw"
- mimetype: "text/plain"
- username: "davidw"
- icomment:
Add attachment "1109294.diff" [15604ce19f] (rid 124556) by davidw on 2005-01-26 06:15:41.
Ticket change [c27cfe679a] (rid 111492) by davidw on 2005-01-26 06:15:42:
- icomment:
File Added - 117153: 1109294.diff
- login: "davidw"
- mimetype: "text/plain"
- username: "davidw"
- icomment:
Ticket change [e5c0cbc2b6] (rid 104183) by dgp on 2005-01-26 21:50:43:
- icomment:
Logged In: YES user_id=80530 Note that pre-patch, the TclCreatePipeline routine ignores the value of its argc argument. Note also the comment that the routine is directly called by BLT. Would be wise to check whether BLT relies on the argc value getting ignored.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [a036670056] (rid 96761) by davidw on 2005-01-28 06:20:57:
- icomment:
Logged In: YES user_id=240 I couldn't find TclCreatePipeline in the version of BLT that ships with Debian: 2.4z
- login: "davidw"
- mimetype: "text/plain"
- username: "davidw"
- icomment:
Ticket change [24c24cb9be] (rid 131161) by dkf on 2005-02-01 17:14:16:
- foundin changed to: "obsolete: 8.4.9"
- icomment:
Logged In: YES user_id=79902 OK, in that case (BLT no longer using it) just fix it so that argv[argc] is never referred to.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [19bd175ac3] (rid 122842) by andreas_kupries on 2005-10-06 05:10:10:
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [9b25afd7c0] (rid 111073) by andreas_kupries on 2005-10-06 05:10:11:
- icomment:
Logged In: YES user_id=75003 Accepted the patch and applied to both 8.4 and cvs head.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [0640f9294e] (rid 89191) by andreas_kupries on 2005-10-06 05:10:13:
- closedate changed to: "2005-10-05T22:10:13"
- closer changed to: "andreas_kupries"