Commit ee152804 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Remove the special case for the NUL device.

parent 950c8209
...@@ -2734,12 +2734,6 @@ static NTSTATUS get_dos_device( const WCHAR *name, UINT name_len, ANSI_STRING *u ...@@ -2734,12 +2734,6 @@ static NTSTATUS get_dos_device( const WCHAR *name, UINT name_len, ANSI_STRING *u
strcpy( dev, "lpt1" ); strcpy( dev, "lpt1" );
continue; continue;
} }
if (!strcmp( dev, "nul" ))
{
strcpy( unix_name, "/dev/null" );
dev = NULL; /* last try */
continue;
}
new_name = NULL; new_name = NULL;
if (dev[1] == ':' && dev[2] == ':') /* drive device */ if (dev[1] == ':' && dev[2] == ':') /* drive device */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment