<i>workaround for buggy(??) mkstemp() on IRIX systems</i> status still Open with 4 other changes
by
.
D 2004-02-21T06:10:37
J icomment Logged\sIn:\sYES\s\nuser_id=68433\n\nThis\slooks\smore\slike\sa\sbug\sin\sTclpTempFileName()\s--\sit\scalls\nmkstemp()\sto\sgenerate\sa\stemporary\sfile,\sbut\sthen\sdeletes\sthe\nfile\sand\scloses\sthe\sfile\sdescriptor.\s\sSo\sa\ssubsequent\scall\nto\smkstemp()\scan\suse\sthe\ssame\sfilename,\sas\sit's\sstill\sunique.\n\nAs\sa\smatter\sof\sfact,\sTclpTempFileName()\sis\sBroken\sAs\nDesigned:\sthere\sis\sno\ssafe\sway\sto\sgenerate\sa\stemporary\sfile\nname\swithout\screating\sthe\sfile\sat\sthe\ssame\stime;\sotherwise\nyou\ssuffer\sa\srace\scondition.\n
J login jenglish
J mimetype text/plain
J username jenglish
K 878333ffffffffffffffffffffffffffffffffff
U jenglish
Z 3913d7e5125f337f5694b8b4e62555f9