Skip to content
Tcl Source Code Artifact [36cbd16a55]
Login

Artifact [36cbd16a55]

Artifact 36cbd16a55e16d288b529108be59c6a65cc4b550:

Ticket change [36cbd16a55] - Ticket [768664ffffffffff|768664ffff] <i>TclCreatePipeline still alters argv</i> status still Open with 5 other changes by andreas_kupries on 2007-09-06 00:17:25.
D 2007-09-06T00:17:25
J assignee dgp
J icomment Logged\sIn:\sYES\s\nuser_id=75003\nOriginator:\sNO\n\nA\squick\ssource-dive\sand\scheck\sof\stclPipe.c\sshows\sthat\sthe\sargv\sargument\sof\sTCP\sis\smodified\sby\sit\sin\s4\splaces,\slines\s697,\s876,\s896,\sand\s899.\n\nI\sam\snot\ssure\sif\sany\sof\sthese\sare\sa\sbug.\sCurrently\sI\sdo\snot\sbelieve\sso.\sThe\sbase\slogic\sseems\sto\sbe\sthat\s'|'s\sare\sNULLed,\sand\sthen\sthe\srelevant\sparts\sof\sargv\sare\sused\sto\sspawn\sthe\ssubprocess\swith\sits\sarguments.\sAnd\sregarding\sthe\sredirections,\sthese\sseem\sto\sbe\sprocessed\sby\sthe\sfunction\sto\spoint\sto\sTcl\schannels,\sso\sof\scourse\sthey\sare\sremoved\sso\sthat\sthe\sspawned\sprocesses\sdo\snot\ssee\sthem.\sAs\sthey\sdo\snot\shave\sto\shandle\sthe\sredirections\son\stheir\sown.\sI\sfail\sto\ssee\sthe\sproblem\swith\sthat.\n\nOr\sdoes\sthe\ssubmitter\ssimply\swants\sus\sto\soperate\son\sa\scopy\sof\sargv\s(it\sis\sdeclared\sas\s'const\schar**'),\sso\sthat\sthe\scaller\sof\sTCP\sdoesn't\ssee\salterations\s?\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 768664ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 761a26d509ae3a5375b1653bc9261f0e