www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/23/23:13:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 23 Jun 1999 23:13:05 -0400
To: Thaddeus Kollar <tad AT apk DOT net>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: B20.1: rmdir errno bug
Message-ID: <19990623231305.A9161@cygnus.com>
References: <199906232017 DOT QAA00724 AT junior DOT apk DOT net>
Mime-Version: 1.0
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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019