Tcl Source Code

Artifact [82c7c42d7f]
Login

Artifact 82c7c42d7f99141bb9cc706e20acf2c61a95c5580a5cb1e5a8a3391772c0a8d3:

Ticket change [82c7c42d7f] - Open ticket [270f78ca95]: file mkdir: race condition if two workers creates same directory and one worker deletes it immediately plus 6 other changes by aspect 2018-07-12 10:21:53.
D 2018-07-12T10:21:53.479
J assignee sebres
J closer nobody
J icomment I'm\snot\sconvinced\sby\s[1c12ee9e45222d6c].\s\sIf\sI'm\sreading\sthe\spatch\scorrectly\s..\r\n\r\nIf\sEEXIST\sis\sraised\stwice,\sTclFileMakeDirsCmd\ssimply\signores\sit.\s\sThe\scomment\sabove\s"goto\snextPart"\ssuggests\ssomething\sdifferent,\sso\sI\ssuspect\sthis\sisn't\sintended.\r\n\r\nRemoving\sthe\scall\sto\sFSStat\smeans\swe\scan\sreport\ssuccess\sif\sthe\starget\sexists\sand\sis\sa\sfile.\s\sThis\sis\sclearly\swrong.\r\n\r\nRemoving\sthe\sTcl_ResetResult()\scall\srings\salarm\sbells,\sbut\sit\slooks\slike\sthat\swas\sredundant\sin\sthe\sfirst\splace.\r\n\r\nI\sthink\slines\s287-289\s(post-patch)\sshould\ssimply\sbe\sdeleted\sso\sthe\ssuccess\scase\scan\spass\sthrough\sTcl_FSStat\ssuccess\son\sline\s258.
J login aspect
J mimetype text/x-fossil-wiki
J resolution None
J status Open
K 270f78ca95b642fbed81ed03ad381d64a0d0f7df
U aspect
Z c344343c0d514a5d4fec93124772f809