* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x.
* fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug output.
This commit is contained in:
parent
19bf3bcc3e
commit
6fcd5661fe
|
@ -1,3 +1,10 @@
|
||||||
|
2003-03-13 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug
|
||||||
|
output.
|
||||||
|
|
||||||
|
* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x.
|
||||||
|
|
||||||
2003-03-11 Corinna Vinschen <corinna@vinschen.de>
|
2003-03-11 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_socket.cc (fhandler_socket::dup): Don't call
|
* fhandler_socket.cc (fhandler_socket::dup): Don't call
|
||||||
|
|
|
@ -568,7 +568,7 @@ fhandler_tty_slave::close ()
|
||||||
if (!output_done_event)
|
if (!output_done_event)
|
||||||
{
|
{
|
||||||
fhandler_console::open_fhs--;
|
fhandler_console::open_fhs--;
|
||||||
termios_printf ("decremeted open_fhs %d", fhandler_console::open_fhs);
|
termios_printf ("decremented open_fhs %d", fhandler_console::open_fhs);
|
||||||
}
|
}
|
||||||
return fhandler_tty_common::close ();
|
return fhandler_tty_common::close ();
|
||||||
}
|
}
|
||||||
|
|
|
@ -152,8 +152,8 @@ unlink (const char *ourname)
|
||||||
(void) SetFileAttributes (win32_name, (DWORD) win32_name);
|
(void) SetFileAttributes (win32_name, (DWORD) win32_name);
|
||||||
BOOL res = CloseHandle (h);
|
BOOL res = CloseHandle (h);
|
||||||
syscall_printf ("%d = CloseHandle (%p)", res, h);
|
syscall_printf ("%d = CloseHandle (%p)", res, h);
|
||||||
if (GetFileAttributes (win32_name) == INVALID_FILE_ATTRIBUTES
|
if (!win32_name.isremote ()
|
||||||
|| (!win32_name.isremote () && wincap.has_delete_on_close ()))
|
|| GetFileAttributes (win32_name) == INVALID_FILE_ATTRIBUTES)
|
||||||
{
|
{
|
||||||
syscall_printf ("CreateFile (FILE_FLAG_DELETE_ON_CLOSE) succeeded");
|
syscall_printf ("CreateFile (FILE_FLAG_DELETE_ON_CLOSE) succeeded");
|
||||||
goto ok;
|
goto ok;
|
||||||
|
|
Loading…
Reference in New Issue