D 2011-10-26T03:33:26
J icomment I\shave\shit\sthis\sbug\sin\smy\sapplication\sas\swell\s(Linux\splatform).\sWe\sare\susing\sTcl\s8.4.5\sand\sunfortunately\sI\scannot\supgrade\sthe\sversion\sof\sTcl\sfor\squite\ssome\stime.\sLooks\slike\sI\shave\sthe\sfollowing\soptions:\n1)\sdefine\sUSE_PUTENV\n2)\sattempt\sto\sbackport\sthis\schange\sinto\smy\s8.4.5\ssource\stree.\n3)\srewrite\sTclSetEnv/TclUnsetEnv\sto\suse\slibc's\ssetenv()\sand\sunsetenv().\n\nI\swill\stry\s1\sfirst.\sI\sdon't\syet\sunderstand\sthe\sdrawbacks.\sIt\slooks\slike\sit\sshould\swork\sthe\ssame.\sCan\sanyone\sexplain\swhy\sTcl\sby\sdefault\sdirectly\smodifies\senviron?\n\n#2\sis\snot\sstraight\sforward\sbut\sI\smay\sgive\sit\sa\sshot.\n\n#3\sseems\spretty\ssimple.\sUnfortunately\sI\scan't\suse\sa\ssimple\s-DTclSetEnv=setenv\sbecause\ssetenv()\stakes\s3\sargs.\sNote\sunix/Makefile\smakes\sit\slook\slike\sthis\sis\sall\sthat\sis\sneeded...\snot\ssure\swhen\sthat\sline\swould\swork.\n\nTIA\sfor\sany\sfeedback!\n\n\n
J login eyekode
J mimetype text/plain
J username eyekode
K 979640ffffffffffffffffffffffffffffffffff
U eyekode
Z 0ed9e7822fbf3b7455d9fb97a4812687