This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: B20.1: rmdir errno bug
- To: Thaddeus Kollar <tad@apk.net>
- Subject: Re: B20.1: rmdir errno bug
- From: Chris Faylor <cgf@cygnus.com>
- Date: Wed, 23 Jun 1999 23:13:05 -0400
- Cc: cygwin@sourceware.cygnus.com
- References: <199906232017.QAA00724@junior.apk.net>
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