This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
mwoehlke wrote:Eric Blake wrote:That said, cygwin does try to emulate linux, and if someone were to contribute a patch that would allow cygwin to emulate directory deletion if it knows that all open handles have also been scheduled for unlinking at process end, then http://cygwin.com/acronyms/#PTC.
Not a patch, but for the record, it looks like Interix solves this problem (http://www.interopsystems.com/tools/tm.aspx?m=9403). Maybe Cygwin could do something similar?
(And in case that link dies; apparently Interix has a special 'temp' directory where "unlinked" files are sent until their handles are all closed.)
If you take a look at the cygwin sources, you'll see that Cygwin does something similar already. This does not solve the problem for those that want to unlink and immediately recreate the unlinked entry though...
-- Matthew ...Ruthlessly beating Windows with a hammer until it looks like POSIX.
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |