* 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.
This commit is contained in:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user