forked from Mirrors/wine-wine
server: Ignore FILE_DIRECTORY_FILE on special files.
parent
871ab51233
commit
47eec1364a
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue