Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <009101c13f9d$e694a080$5c6706d5@uhs>
From: "Uwe H. Steinfeld" <usteinfeld@gmx.net>
To: <cygwin@cygwin.com>
Subject: cygwin 1.3.3 - fchdir() problem?
Date: Mon, 17 Sep 2001 19:25:53 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

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.

Uwe


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

