Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Wed, 23 Jun 1999 23:13:05 -0400
To: Thaddeus Kollar <tad@apk.net>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: B20.1: rmdir errno bug
Message-ID: <19990623231305.A9161@cygnus.com>
References: <199906232017.QAA00724@junior.apk.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
In-Reply-To: <199906232017.QAA00724@junior.apk.net>; from Thaddeus Kollar on Wed, Jun 23, 1999 at 04:17:59PM -0400

On Wed, Jun 23, 1999 at 04:17:59PM -0400, Thaddeus Kollar wrote:
>When rmdir() attempts to remove a regular file (non-directory) and therefore
>fails, it sets errno to EISDIR instead of ENOTDIR. Tested on NT with B20.1;
>both egcs-2.91.57 and egcs-2.91.66; with binmode and without. Couldn't find
>a reference to the problem in the mailing list archives and didn't see an
>obvious way of fixing it in the source. Encountered the problem when porting
>dpkg. Test code below...

Thank you for the concise bug report, along with a test case.  This kind of
bug report makes tracking down problems a joy (well, almost).

I tried out your test case and got the same error on Windows NT as on
UNIX.  Then I remembered that a net user had supplied us with a patch
for this a couple of months ago.

So, it will be fixed in the next release.

-chris

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

