Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-05-04 23:46:32 +0400
committerChristopher Faylor <me@cgf.cx>2000-05-04 23:46:32 +0400
commit8e9b0aee252c4b8c055c2bfa290ab80d11a57562 (patch)
tree9355416ac95e34d55c68a1d2db8861de6c5d0787 /winsup/cygwin/delqueue.cc
parentcf3eb87bef10617d2437230718a6a037b943b8ed (diff)
* 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.cc3
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]);