This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: tar and open files
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Steven Hartland <killing at multiplay dot co dot uk>
- Cc: cygwin at cygwin dot com
- Date: Fri, 20 Feb 2004 18:01:55 -0500 (EST)
- Subject: Re: tar and open files
- References: <011f01c3f801$881ccb30$b3db87d4@multiplay.co.uk>
- Reply-to: cygwin at cygwin dot com
On Fri, 20 Feb 2004, Steven Hartland wrote:
> Does anyone know of a way of getting round the file locking in win32 /
> cygwin so that in use files e.g. dll's can be replaced and next time the
> app restarts they are picked up?
> Steve
Setup.exe uses the Windows "replace-on-reboot" feature for this. If
you're interested in how this works, see the setup.exe sources or MSDN.
AFAIK, there's no other way to do a delayed replace of in-use files on
Windows, but I've been known to err...
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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/