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
File Mode Size
.depend -rw-r--r-- 159 bytes
.gitignore -rw-r--r-- 58 bytes
AUTHORS -rw-r--r-- 716 bytes
Changelog -rw-r--r-- 979 bytes
INSTALL -rw-r--r-- 194 bytes
LICENSE -rw-r--r-- 25.8 KB
META -rw-r--r-- 219 bytes -rw-r--r-- 2.9 KB -rw-r--r-- 2.3 KB
README -rw-r--r-- 6.3 KB
README.maintainer -rw-r--r-- 380 bytes -rw-r--r-- 6.2 KB
_oasis -rw-r--r-- 567 bytes
_tags -rw-r--r-- 216 bytes -rw-r--r-- 3.8 KB
bytearray.mli -rw-r--r-- 1.6 KB
bytearray_stubs.c -rw-r--r-- 2.1 KB -rw-r--r-- 1.8 KB
configure -rwxr-xr-x 197.2 KB -rw-r--r-- 945 bytes
libparmap_stubs.clib -rw-r--r-- 34 bytes -rw-r--r-- 648 bytes -rwxr-xr-x 106 bytes
opam -rw-r--r-- 699 bytes -rw-r--r-- 23.5 KB
parmap.mldylib -rw-r--r-- 38 bytes
parmap.mli -rw-r--r-- 10.2 KB
parmap.mllib -rw-r--r-- 38 bytes
parmap.odocl -rw-r--r-- 7 bytes -rw-r--r-- 1.3 KB
parmap_utils.mli -rw-r--r-- 270 bytes -rw-r--r-- 207 bytes
setcore_stubs.c -rw-r--r-- 1.7 KB

back to top