Artifacts Associated With Ticket 1189293
Ticket change [691c7f1f25] (rid 103192) by avl42 on 2005-04-25 07:46:18:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Redirection from data (using "<<") loses zero-characters: exec wc << [string repeat "\0" 42] returns "0 0 0", rather than "0 0 42" as it should.
- foundin initialized to: "obsolete: 8.5a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "avl42"
- subsystem initialized to: "25. Channel System"
- title initialized to: ""<<" redirection not binary safe"
- type initialized to: "Bug"
Ticket change [0a0914cc55] (rid 113746) by dkf on 2005-04-25 17:09:02:
- icomment:
Logged In: YES user_id=79902 Effect replicated in code that is definitely binary clean (od -c) so whatever the problem is (probably C strings in the tclpcreatepipeline code) it is not the fault of nul handling in wc.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [4161b42884] (rid 116181) by hobbs on 2005-05-31 09:22:45:
- icomment:
Logged In: YES user_id=72656 Indeed unix/tclUnixPipe.c:TclpCreateTempFile (and likely other plats as well) just get contents passed as a C string. We need to change this to a counted string of DString, if we can be sure noone uses this internal API.
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "6"
- username: "hobbs"
- icomment:
Ticket change [a1c1a4dbfb] (rid 109782) by avl42 on 2005-07-27 19:01:27:
- icomment:
Logged In: YES user_id=830354 Internal APIs shouldn't be used by anyone else. Even if they are, some wrapper-function can be created for the old functionality, and the implementation of exec could use some TclpCreateTempFileEx(), until some minor or major version-number change allows for a change. I don't see why this should be a blocker.
- login: "avl42"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "avl42"
- icomment:
Ticket change [ea8228bdbf] (rid 103387) by dkf on 2005-07-27 19:06:35:
- icomment:
Logged In: YES user_id=79902 The question is whether BLT uses this. I don't think anyone else does.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [83b185ebef] (rid 117426) by avl42 on 2005-08-02 04:35:35:
- icomment:
Logged In: YES user_id=830354 So, is it in "our" (well your) reach to fix BLT as well?
- login: "avl42"
- mimetype: "text/plain"
- username: "avl42"
- icomment:
Ticket change [4631438c51] (rid 99482) by dkf on 2005-08-02 14:58:24:
- icomment:
Logged In: YES user_id=79902 I have never touched the source to BLT, and I don't intend to start now. Speaking personally, of course. :-)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [ed718fdcf0] (rid 103878) by hobbs on 2005-10-05 11:46:14:
- icomment:
Logged In: YES user_id=72656 I found a slot to use for an old, unused TclpCreateTempFile sig change in 8.1 (never used essentially). However, the problem to fixing it is harder ... the processing of the command line is char* based, so we don't have a counted string at any point.
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "6"
- username: "hobbs"
- icomment:
Ticket change [3f41165f54] (rid 121426) by hobbs on 2006-04-23 08:02:20:
- assignee changed to: "hobbs"
- foundin changed to: "obsolete: 8.5a4"
- icomment:
Logged In: YES user_id=72656 I have found that in fact BLT no longer uses TclCreatePipeline, but it is Tcl_OpenCommandChannel that must be enhanced to take an obj-based version. For 'exec' in particular, this is something that could be done with internal routines.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
Ticket change [8d1c02a4ba] (rid 127872) by dgp on 2011-06-07 00:05:08:
- icomment:
dgpok, the comments suggest there's nothing fundamental blocking a fix. dgpJust needs someone to roll up sleeves and do it. dgpIs this broken in releases before 8.5 as well? dgpWas this broken even in Tcl 8.0 ? dgp% info patch 8.0.5 % exec wc << \0\0 0 0 0 dgpAppears so
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d2b795208e] (rid 113576) by dgp on 2012-07-02 23:23:19:
- icomment:
Yikes! Fix for this was much simpler than believed. Please review/test the proposed fix on bug-1189293 branch to confirm I got the fix right on Windows before committing to release branches.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "dgp"
- icomment:
Ticket change [5002b78ce6] (rid 125909) by dgp on 2012-07-05 20:51:52:
- assignee changed to: "dgp"
- closedate changed to: "2012-07-05T13:51:52"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 committed.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"