diff options
author | Christopher Faylor <me@cgf.cx> | 2000-05-04 19:46:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-05-04 19:46:32 +0000 |
commit | 8e9b0aee252c4b8c055c2bfa290ab80d11a57562 (patch) | |
tree | 9355416ac95e34d55c68a1d2db8861de6c5d0787 /winsup/cygwin/delqueue.cc | |
parent | cf3eb87bef10617d2437230718a6a037b943b8ed (diff) | |
download | cygnal-8e9b0aee252c4b8c055c2bfa290ab80d11a57562.tar.gz cygnal-8e9b0aee252c4b8c055c2bfa290ab80d11a57562.tar.bz2 cygnal-8e9b0aee252c4b8c055c2bfa290ab80d11a57562.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/delqueue.cc')
-rw-r--r-- | winsup/cygwin/delqueue.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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]); |