Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Thu, 23 Jun 2005 03:12:45 -0400 (EDT)
From: Jason Pyeron <jpyeron@pdinc.us>
To: cygwin@cygwin.com
cc: RPM Package Manager <rpm-list@redhat.com>
Subject: Re: setup alternatives using RPM
In-Reply-To: <42B98BA3.8BA2F700@dessent.net>
Message-ID: <Pine.LNX.4.62.0506230309420.9788@ns.pyerotechnics.com>
References: <Pine.LNX.4.62.0506221129150.9788@ns.pyerotechnics.com>  <42B98BA3.8BA2F700@dessent.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-IsSubscribed: yes

On Wed, 22 Jun 2005, Brian Dessent wrote:

> <snip> This means you
> won't be able to install/remove any of those packages with rpm because
> it's impossible to replace in-use files under Windows and rpm does not
> know how to do it the windows-way.


http://www.thescarms.com/vbasic/FilesInUse.asp

so the cygwin rpm needs to be patched to use MOVEFILE_DELAY_UNTIL_REBOOT.

The MoveFileEx function with the MOVEFILE_DELAY_UNTIL_REBOOT flag lets you 
move, replace, or delete files and directories currently being used.



-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (410) 808-6646 (c)             Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.

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

