From 8e9b0aee252c4b8c055c2bfa290ab80d11a57562 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 4 May 2000 19:46:32 +0000 Subject: * configure.in: Use -gstabs+ as compile debug option. This seems to promote better handling of symbols. * configure: Regenerate. * delqueue.cc (delqueue_list::process_queue): Allow ERROR_ACCESS_DENIED to indicate that a file is being shared under Windows 95. * syscalls.cc (_unlink): Use full path name. Take special action for Windows 95. Assume that an ERROR_ACCESS_DENIED indicates a sharing violation unless it's on a remote drive. Punt if there is an ERROR_ACCESS_DENIED on a remote drive. --- winsup/cygwin/delqueue.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/delqueue.cc') diff --git a/winsup/cygwin/delqueue.cc b/winsup/cygwin/delqueue.cc index 17feb6991..08a17fd75 100644 --- a/winsup/cygwin/delqueue.cc +++ b/winsup/cygwin/delqueue.cc @@ -85,7 +85,8 @@ delqueue_list::process_queue () { int res = GetLastError (); empty = 0; - if (res == ERROR_SHARING_VIOLATION) + if (res == ERROR_SHARING_VIOLATION || + (os_being_run != winNT && res == ERROR_ACCESS_DENIED)) { /* File still inuse, that's ok */ syscall_printf ("Still using %s", name[i]); -- cgit v1.2.3