<i>Dangerous reuse of channel names in unix</i> status still Closed with 4 other changes
by
.
D 2008-06-23T17:33:34
J icomment Logged\sIn:\sYES\s\nuser_id=79902\nOriginator:\sNO\n\nI\sthink\sthis\sis\san\sunnecessary\schange,\sand\sI\snote\sthat\sit's\snot\spossible\sto\ssay\sfor\ssure\sthat\speople\saren't\susing\sthe\sfact\sthat\sthe\sFD\sis\sin\sthe\schannel\sname.\sIt's\snot\spossible\sto\sextrapolate\sfrom\sjust\syour\sown\sexperience\swith\sthe\shacks\sthat\speople\sdo;\sthat's\swhy\smore\sthan\sone\sperson\sis\sa\smaintainer.\sThe\spoint\sabout\sprime\sduties\sof\sa\slanguage\sis\sobfuscatory\sand\stotally\soff\stopic.\sTcl\suses\sthe\sFD\sin\sthe\schannel\shandle\sname\s(except\sfor\sstdin/stdout/stderr);\sit\shas\sdone\sfor\smany\syears\s—\smore\sthan\sI've\sbeen\susing\sTcl\sat\sleast\s—\sso\sI'm\sreally\sloth\sto\schange\sit\sas\swho\sknows\swhat\syou'd\sbreak?\s(I\sknow\sI've\swritten\scode\sin\sthe\spast\sto\sdetermine\swhat\sfile\sa\sparticular\schannel\sis\sopened\supon,\swhich\scan\sbe\suseful\sin\scomplex\sprograms;\sdoing\sthis\sby\sgrabbing\sthe\snumber\soff\sthe\send\sof\sthe\schannel\sname\sand\slooking\s/proc/[pid]/fd\sis\sthe\seasiest\sway\ssince\sit\sdoesn't\srequire\syou\sto\sretain\sany\smetadata\syourself.\sHaving\sto\sstrace\sthe\sprogram\swould\shave\ssucked,\ssince\sit\sran\sfor\sat\sfull\stilt\sfor\shours...)\n\nWhy\snot\sgo\sand\swrite\ssome\sphoto\simage\srotation\sor\sscaling\scode\sor\ssomething?\sThat'd\sbe\swelcomed\sby\smany...\n
J login dkf
J mimetype text/plain
J username dkf
K 2000586fffffffffffffffffffffffffffffffff
U dkf
Z 1c137642ba5f1c4a0725949c4fc81563