Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/