delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/17/13:56:30

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
Date: Mon, 17 Sep 2001 13:56:36 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.3.3 - fchdir() problem?
Message-ID: <20010917135636.A22751@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <009101c13f9d$e694a080$5c6706d5 AT uhs>
Mime-Version: 1.0
In-Reply-To: <009101c13f9d$e694a080$5c6706d5@uhs>
User-Agent: Mutt/1.3.21i

On Mon, Sep 17, 2001 at 07:25:53PM +0200, Uwe H. Steinfeld wrote:
>Hi,
>I think there is a problem with fchdir() which seems to be new in Cygwin
>1.3.3.
>I recompiled fileutils-4.1. Afterwards commands like "mkdir /somedir" and
>"rm -rf /somedir" do not work anymore. According to the error message
>"cannot open current directory" the commands fail in lib/save-cwd.c,
>function save_cwd(). After removing the define for HAVE_FCHDIR in config.h
>everything works fine.

Apparently fileutils assumes that one can cd to a directory and then remove
it.  As was just recently discussed in this mailing list, you can't do that
on Windows.

cgf

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