X-Spam-Check-By: sourceware.org
Date: Sat, 28 Jan 2006 15:02:30 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygwin-1.5.19-2: mkdir returns inconsistent errno
Message-ID: <20060128140230.GF15572@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <012620061525.1038.43D8EA05000B44680000040E22007358340A050E040D0C079D0A@comcast.net> <81b0412b0601260821p2a0525dane12307a43e6897f1@mail.gmail.com> <20060127182655.GA6169@steel.home> <43DA9F10.8090804@byu.net> <20060128120637.GA5948@steel.home>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20060128120637.GA5948@steel.home>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jan 28 13:06, Alex Riesen wrote:
> Which still wont make a portable alternative any time soon.
> I'll go with stat(2), including all the problems it has.
> Still, it'd be nice of cygwin to follow linux behaviour here.

Since Linux compatibility is a major goal for us, I applied a change to
Cygwin's mkdir, so that errno is set to EEXIST in all cases where the
file already exists, regardless of the error returned by the underlying
filesystem.  Please try the next developer's snapshot from
http://cygwin.com/snapshots/


HTH,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

