This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: coreutils 5.97; mkdir -p; mkdir: cannot create directory `name': File exists


Rolf Campbell wrote:
I believe there is a race-condition in "mkdir -p". Specifically, if the directory does not exist *yet* when stat is called on line #98 of "coreutils-5.97/lib/mkdir-p.c", but the directory *does* exist by the time line #190 of the same file calls mkdir(), then the program will error with "File exists".

I hit this occasionally when doing parallel builds.

The coreutils list would be a nice place to send this, unless you have reason to believe that only Cygwin is affected?


--
Matthew
'$ time make world' -> real 5d:14h:37m:5.291s user 0m:0.000s sys 4d:2h:14m:43.712s



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]