delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/26/22:09:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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: Tue, 26 Oct 1999 22:12:04 -0400
To: Steve Jorgensen <steve AT khoral DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: cygwin's unlink
Message-ID: <19991026221204.D3136@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Steve Jorgensen <steve AT khoral DOT com>,
cygwin AT sourceware DOT cygnus DOT com
References: <199910262151 DOT PAA09670 AT benson>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <199910262151.PAA09670@benson>; from Steve Jorgensen on Tue, Oct 26, 1999 at 03:51:25PM -0600

Ok.  I was able to duplicate this behavior with the Cygwin CD DLL.  It
is apparently a long standing bug which Corinna fixed just a couple of
days after the CD was pressed.

I have also changed the error returned from "EISDIR" to "EPERM" as was
suggested by another post.  I was confused by the behavior of 'rm' which
must be doing its own checking.  A simple program that performs an
unlink() returns EPERM on every UNIX system that I tested it on.

-chris

On Tue, Oct 26, 1999 at 03:51:25PM -0600, Steve Jorgensen wrote:
>> On Tue, Oct 26, 1999 at 03:09:49PM -0600, Steve Jorgensen wrote:
>> >Are you saying this is a bug that has been fixed and will be in the
>> >next snapshot, because I didn't get the "Permission denied" error at
>> >all?  In fact, it was the lack of error is what I reporting as an
>> >error.
>
>> I'm saying that I fixed the bug that *I* saw but didn't fix any bug that
>> i couldn't duplicate.  I did get an error when I attempted to remove a
>> directory.  It was the wrong error, though, so I changed it.
>
>	Ok, I downloaded the 10/25/1999 cygwin1.dll, and it does
>	in fact return an error when trying to unlink a directory.
>	So, it looks like the cygwin1.dll that comes with the 1.0 CD
>	has a broken unlink.

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