Revision a1e92fe78fe48925f83ffb20e6b577f5863d7faa authored by Jeff Mahoney on 05 June 2016, 00:21:04 UTC, committed by Jeff Mahoney on 05 June 2016, 00:21:04 UTC
can_redirect's test for existance of the path followed by the mkdir
is inherently racy.  It's trivially possible to encounter a situation
where the test for existance fails in two processes and one of them
succeeds in creating the directory.  Since both processes are
looking to create and use the directory for the same purpose, we
don't need to treat EEXIST as an error.
1 parent 7598fb9
History
File Mode Size
LICENCE -rw-r--r-- 17.7 KB
Makefile -rw-r--r-- 376 bytes
Makefile.OSX -rw-r--r-- 593 bytes
_tags -rw-r--r-- 117 bytes
mandels.ml -rw-r--r-- 6.4 KB
mandels_sdl.ml -rw-r--r-- 8.2 KB
topnat.ml -rw-r--r-- 373 bytes

back to top