UNLINK problem (again!!)
Spiro Trikaliotis
an-cygwin@spiro.trikaliotis.net
Sat Mar 21 04:46:00 GMT 2009
Hello,
* On Fri, Mar 20, 2009 at 06:45:12PM +0000 Dave Korn wrote:
> This is Cygwin correctly implementing the POSIX "can delete a file while
> retaining a handle to its contents" semantic, followed by the known Cygwin
> problem (a restiction of the underlying windows OS) that you can't (as you can
> in POSIX) create a new file in place of the old one while you keep that handle
> to the old one's contents.
This restriction could be solved by renaming the file before deleting
it.
The only problem I see with this approach: What file name to choose for
the rename operation?
Best regards,
Spiro.
--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/
--
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/
More information about the Cygwin
mailing list