From 1a11ddfaed43c681cf15f180b90ad429e092a219 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Tue, 6 Mar 2012 16:25:44 +0000 Subject: [PATCH] Workaround for a BSD bug (submitted by Boender). --- matita/components/extlib/hExtlib.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/matita/components/extlib/hExtlib.ml b/matita/components/extlib/hExtlib.ml index 0b13cd83e..8871a35df 100644 --- a/matita/components/extlib/hExtlib.ml +++ b/matita/components/extlib/hExtlib.ml @@ -437,6 +437,7 @@ let mkdir path = Unix.mkdir path 0o755; chmod 0o2775 path with | Unix.Unix_error (Unix.EEXIST,_,_) -> () + | Unix.Unix_error (Unix.EISDIR,_,_) -> () (* work-around for a bug in FreeBSD *) | Unix.Unix_error (e,_,_) -> raise (Failure -- 2.39.2