delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/10/13:49:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT cygwin DOT com
Subject: Re: 1.3.2 rmdir fails if CWD is in the directory to be deleted?
References: <F146hlbgwCpsCXsCLMy0000ad06 AT hotmail DOT com>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010908074822 DOT 0292ce60 AT pop3 DOT cris DOT com>
<x6heuc1r98 DOT fsf AT no-such-thing-as-a DOT free-lunch DOT demon DOT co DOT uk>
<20010909194056 DOT A11565 AT redhat DOT com>
From: James Youngman <jay AT gnu DOT org>
Date: 10 Sep 2001 18:46:41 +0100
In-Reply-To: <20010909194056.A11565@redhat.com>
Message-ID: <x6u1ybym4e.fsf@no-such-thing-as-a.free-lunch.demon.co.uk>
Lines: 21
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0

Christopher Faylor <cgf AT redhat DOT com> writes:

> >My reading of this is that if you have a directory open by virtue of
> >it being your working directory, then it is valid for rmdir() to fail.
> >If however it is open via opendir(), then the rmdir() must succeed.  
> 
> Hmm.  I read "open" as also being "open as the current working
> directory".

Me too.  Perhaps I was unclear.

> In any event, cygwin/windows will fail for both of these situations, I
> think.

I'm not surprised.  So Cygwin will not pass a Unix certification
test.  BFD, it's very useful nonetheless. 

-- 
James Youngman
Manchester, UK.  +44 161 226 7339
PGP (GPG) key ID for <jay AT gnu DOT org> is 64A95EE5 (F1B83152).

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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