Alexandre Julliard : ntdll: Remove the special case for the NUL device.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu May 21 07:24:24 CDT 2015
Module: wine
Branch: master
Commit: ee1528040e47b39591a39ee42b2a6587a653e00c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ee1528040e47b39591a39ee42b2a6587a653e00c
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu May 21 17:28:03 2015 +0900
ntdll: Remove the special case for the NUL device.
---
dlls/ntdll/directory.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index 1a8d9cc..8e4db83 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -2734,12 +2734,6 @@ static NTSTATUS get_dos_device( const WCHAR *name, UINT name_len, ANSI_STRING *u
strcpy( dev, "lpt1" );
continue;
}
- if (!strcmp( dev, "nul" ))
- {
- strcpy( unix_name, "/dev/null" );
- dev = NULL; /* last try */
- continue;
- }
new_name = NULL;
if (dev[1] == ':' && dev[2] == ':') /* drive device */
More information about the wine-cvs
mailing list