Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Tue, 26 Oct 1999 16:52:25 -0400
To: Steve Jorgensen <steve@khoral.com>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: cygwin's unlink
Message-ID: <19991026165225.A2485@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: Steve Jorgensen <steve@khoral.com>,
	cygwin@sourceware.cygnus.com
References: <199910262001.OAA09520@benson>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <199910262001.OAA09520@benson>; from Steve Jorgensen on Tue, Oct 26, 1999 at 02:01:10PM -0600

On Tue, Oct 26, 1999 at 02:01:10PM -0600, Steve Jorgensen wrote:
>Anyway, in the case where the file is truely a directory, under all
>unix systems we've tried, unlink returns and error, and we proceed with
>the recursive directory removal, but under cygwin it returns success
>(even though nothing is removed), and our code returns success without
>removing the directory.  Is this a limitation in the underlying windows
>unlink, or a bug in cygwin?

When I try this I get a "Permission denied" error.  It should be a
"Is a directory error" though.  I've changed the sources here so
this should be fixed in the next snapshot.

cgf

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

