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@yahoo.it>
Subject: Re: make keeps an open handle to a file, can't delete parent directory
To: cygwin@cygwin.com
In-Reply-To: <45B7CCCF.3030204@determina.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Message-ID: <42715.80136.qm@web25001.mail.ukl.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


--- Alexander Sotirov <asotirov@determina.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/

