On Tue, Oct 07, 2003 at 08:38:08PM -0400, Pierre A. Humblet wrote: >This is what I see on Win98/Me: >- DELETE_ON_CLOSE works if the file is not yet opened. >- If it is opened for writing, CreateFile (DELETE_ON_CLOSE) fails and the > file is eventually put on the delete queue, at least if it is local. > Why not if it's remote?
You can't assume that an access denied on a remote share means "sharing violation". If you put something into the delete queue that can't ever be deleted, then, well... If you do get a sharing violation on a remote share then it should be put into the delete queue. cgf -- 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/