delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/08/09:20:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Joe Buehler <jbuehler AT hekimian DOT com>
Newsgroups: gmane.os.cygwin
Subject: Re: 1.3.12: rm -rf on directory with open files hangs
Date: Thu, 08 Aug 2002 09:20:21 -0400
Lines: 15
Message-ID: <3D527015.1010501@hekimian.com>
References: <0208081059000W DOT 13014 AT gilgamesh>
NNTP-Posting-Host: hekimian.com
Mime-Version: 1.0
X-Trace: main.gmane.org 1028812774 24305 206.205.138.10 (8 Aug 2002 13:19:34 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Thu, 8 Aug 2002 13:19:34 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530
X-Accept-Language: en-us, en

Michael Beach wrote:

> Hi all, I've been bitten lately by rm -rf on a directory occasionally 
> hanging. After some fooling around, I've come up with a simple way of 
> reproducing the problem. I'm currently using 1.3.12 of the DLL on Windows 
> 2000 Professional SP2. Results from 'cygcheck -s -v -r' are attached.

I have a patch for this that I have not yet submitted.  The unlink()
system call needs to rename the file to a temporary directory and
then remove the file.

I'll post the patch to cygwin-patches in a bit.

Joe Buehler




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