Tcl Source Code

Ticket Change Details
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Aug 20.
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. 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"