* 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:
		| @@ -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> | ||||
|  | ||||
| 	* fhandler_socket.cc (fhandler_socket::dup): Don't call | ||||
|   | ||||
| @@ -568,7 +568,7 @@ fhandler_tty_slave::close () | ||||
|   if (!output_done_event) | ||||
|     { | ||||
|       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 (); | ||||
| } | ||||
|   | ||||
| @@ -152,8 +152,8 @@ unlink (const char *ourname) | ||||
|       (void) SetFileAttributes (win32_name, (DWORD) win32_name); | ||||
|       BOOL res = CloseHandle (h); | ||||
|       syscall_printf ("%d = CloseHandle (%p)", res, h); | ||||
|       if (GetFileAttributes (win32_name) == INVALID_FILE_ATTRIBUTES | ||||
| 	  || (!win32_name.isremote () && wincap.has_delete_on_close ())) | ||||
|       if (!win32_name.isremote () | ||||
| 	  || GetFileAttributes (win32_name) == INVALID_FILE_ATTRIBUTES) | ||||
| 	{ | ||||
| 	  syscall_printf ("CreateFile (FILE_FLAG_DELETE_ON_CLOSE) succeeded"); | ||||
| 	  goto ok; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user