delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/08/11:10:36

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
Date: Thu, 8 Aug 2002 11:10:10 -0400
From: Christopher Faylor <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.3.12: rm -rf on directory with open files hangs
Message-ID: <20020808151010.GF6833@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <0208081059000W DOT 13014 AT gilgamesh> <3D527015 DOT 1010501 AT hekimian DOT com>
Mime-Version: 1.0
In-Reply-To: <3D527015.1010501@hekimian.com>
User-Agent: Mutt/1.3.23.1i

On Thu, Aug 08, 2002 at 09:20:21AM -0400, Joe Buehler wrote:
>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.

You might want to read all of the discussion about this before you post
any patch.  This issue crops up about once a month.  It should be pretty
easy to find the discussion in the mailing list archives.

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