www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-YMail-OSG: | x9iR1OEVM1mvP.AY1v2Iq_FPwHMSRYHoBbBOzdSXSlxFeVpaMoqUt2vokhYEUURcctslHN4MYsZzzaSXPjSAe3d63KJMN9xMeuvVApEddpSlEz_kuLtP2cCBP0sgRCG.u7L5kdVnCItc |
Date: | Thu, 25 Jan 2007 09:30:32 +0100 (CET) |
From: | Marco Atzeri <marco_atzeri AT yahoo DOT it> |
Subject: | Re: make keeps an open handle to a file, can't delete parent directory |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <45B7CCCF.3030204@determina.com> |
MIME-Version: | 1.0 |
Message-ID: | <42715.80136.qm@web25001.mail.ukl.yahoo.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
--- Alexander Sotirov <asotirov AT determina DOT com> ha scritto: > Hi, > > I am having a problem with GNU make 3.81 on cygwin > 1.5.22. It looks like a > problem with cygwin and not make, but I am not sure > exactly what's causing it. confirmed also with 20070118 shapshot and 3.81-1 > The part of the makefile that causes this error is > the implicit rule on the > bottom of the file. This rule specifies an implicit > rule for files inside the > foo/bar/ directory. If the rule is present, make > keeps an open handle to the > foo/bar/ directory, which prevents it from being > deleted. If the rule is > commented out, everything works fine. > > If we replace the 'rm -rf' command with 'sleep' and > running Process Explorer, it > shows the open handle in make. I've attached a > screenshot of that. > > Alex > > create: > mkdir foo > mkdir foo/bar > > clear: > -rm -rf foo > ls -la foo > > foo/bar/%.obj: foo/bar/%.c > echo implicit rule > > it seems an issue of make as rm -rf foo gave no problem on command line Regards Marco ___________________________________ Vinci i biglietti per FIFA World Cup in Germania! yahoo.it/concorso_messenger -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |