Tcl Source Code

Ticket Change Details
Login
Overview

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
Changes

  1. icomment:
    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 [./artifact?udc=1&ln=259-263&name=ee3766c8dd773316|!S_ISDIR(statBuf.st_mode)].
    Endless cycle is not needed (would be too dangerous).
    
  2. login: "sebres"
  3. mimetype: "text/plain"