Skip to content
Tcl Source Code Artifact [4e81bc3415]
Login

Artifact [4e81bc3415]

Artifact 4e81bc34153fc1f5b1835588b3b60d233b64256f:

Ticket change [4e81bc3415] - Ticket [2827015fffffffff|2827015fff] <i>2&gt;@stdout does 2&gt;@1</i> status still Open with 4 other changes by lars_h on 2009-07-29 21:36:10.
D 2009-07-29T21:36:10
J icomment dup.patch\sdidn't\squite\swork\s(it\ssaid\sfd2=GetFd(outputFile);\sand\sreused\sthe\s"error"\slabel),\sbut\sI\swas\sable\sto\swork\sthat\sout.\sAttaching\sfixed\spatch\sdup-2,patch.\sThis\salso\scontains\sa\snew\stest\s(exec-15.8)\scovering\s2>@stdout\sand\s>@stderr.\n\nIt\smight\sbe\snotable\sthat\sdup-2.patch\salso\schanges\ssome\serror\smessages\s(those\sgenerated\sby\sthe\schild\safter\sfork\sbut\sbefore\sexec),\sbut\sit\sseems\sno\sexisting\stest\scovers\sthese\ssituations,\sso\sthere\sare\sa\scouple\sof\scode\spaths\shere\swhich\sare\suntested.\sAlso,\ssome\sof\sthe\s(old)\scomments\sin\sthat\sarea\sseem\sa\sbit\sstrange.\n\nFinally,\sI've\skept\sthe\scloseOut\sand\scloseErr\svariables\sfrom\sdup.patch,\sbut\sI'm\snot\ssure\sthey're\sneeded.\sWould\snot\sthe\sextra\sfile\sdescriptors\sbe\sclosed\sat\sexec()\sanyway?\n
J login lars_h
J mimetype text/plain
J username lars_h
K 2827015fffffffffffffffffffffffffffffffff
U lars_h
Z fd201b3bdfaf989120131e921f2ddec0