Tcl Source Code

Ticket Change Details

Artifact ID: 858dfd8cbf6df49dd698f746117792d5f787c7052e2c46ce237223c543e9a421
Ticket: 270f78ca95b642fbed81ed03ad381d64a0d0f7df
file mkdir: race condition if two workers creates same directory and one worker deletes it immediately
User & Date: sebres 2018-07-12 10:33:23

  1. Change icomment to:

    If EEXIST is raised twice, it can only be something (which going possibly deleted inbetween), because otherwise (it's a file) it will exit with error in !S_ISDIR(statBuf.st_mode). Endless cycle is not needed (would be too dangerous).

  2. Change login to "sebres"
  3. Change mimetype to "text/plain"