delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | mwoehlke <mwoehlke AT tibco DOT com> |
Subject: | Re: coreutils 5.97; mkdir -p; mkdir: cannot create directory `name': File exists |
Date: | Tue, 22 Aug 2006 14:28:52 -0500 |
Lines: | 16 |
Message-ID: | <ecfltk$tht$1@sea.gmane.org> |
References: | <ecfhri$g21$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 |
In-Reply-To: | <ecfhri$g21$1@sea.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |