Commit 47eec136 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Ignore FILE_DIRECTORY_FILE on special files.

parent 871ab512
...@@ -1865,11 +1865,6 @@ struct fd *open_fd( struct fd *root, const char *name, int flags, mode_t *mode, ...@@ -1865,11 +1865,6 @@ struct fd *open_fd( struct fd *root, const char *name, int flags, mode_t *mode,
} }
else /* special file */ else /* special file */
{ {
if (options & FILE_DIRECTORY_FILE)
{
set_error( STATUS_NOT_A_DIRECTORY );
goto error;
}
if (unlink_name[0]) /* we can't unlink special files */ if (unlink_name[0]) /* we can't unlink special files */
{ {
set_error( STATUS_INVALID_PARAMETER ); set_error( STATUS_INVALID_PARAMETER );
......
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