: <i>TclpOpenFileChannel : try to open file which don't exist</i> plus 8 other changes
by
.
D 2012-08-27T18:18:55
J assignee dkf
J closedate 2012-08-27T11:18:55
J closer dkf
J icomment \n\nallow_comments\s-\s1\n\nI\sbelieve\sthat\sthe\scorrect\sthing\sto\sdo\sis\sto\s*not*\sstat()\sthe\sfile\sfirst,\sas\sthat\swould\sintroduce\sa\srace\scondition.\sDue\sto\svarious\sbugs/"issues"\sin\sfilesystem\simplementations\son\ssome\sOSes,\sit's\salso\snot\sat\sall\scertain\sthat\sdoing\sa\sstat()\s(or\san\saccess()\sfor\sthat\smatter)\swould\sgive\syou\suseful\sinformation.\s(There\shave\sbeen\sAFS\simplementations\swhich\sgot\saccess()\swrong,\sand\sstat()\signores\sACLs\swhich\smay\sbe\sset\son\smany\sfilesystems.)\n\nScripts\scan\salways\suse\s[file\sstat]\sor\s[file\sreadable]\sthemselves\sbefore\sthe\s[open],\sbut\sthey\sshould\sbe\saware\sthat\sthey\srun\sthe\srisk\sof\sthings\schanging\sor\sthe\sinformation\scoming\sback\sbeing\snon-useful.\n\nSorry\sit\scauses\sexcess\slogging\soutside\sTcl,\sbut\swe\s*must*\sprioritize\sgetting\sTcl's\ssemantics\scorrect.\n
J login dkf
J mimetype text/plain
J resolution Rejected
J status Closed
J username dkf
K 1604355fffffffffffffffffffffffffffffffff
U dkf
Z 295f9b1ec92586981b2d97a94c8433b8