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
parmap_utils.mli
val log_error : ('a, unit, string, unit) format4 -> 'a
val append_tr : 'a list -> 'a list -> 'a list
val concat_tr : 'a list list -> 'a list
val fold_right : ('a -> 'b -> 'b) -> 'a list -> 'b -> 'b
val range : int -> int -> int list
val tempfd : unit -> Unix.file_descr
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...