mirror of
https://github.com/reactos/wine.git
synced 2025-01-31 09:01:59 +00:00
server: Return an error in get_handle_unix_name for objects that don't have a file name.
This way we fall back to retrieving the Win32 name.
This commit is contained in:
parent
e7c67c0cb1
commit
d771f4d17c
@ -2254,6 +2254,7 @@ DECL_HANDLER(get_handle_unix_name)
|
||||
if (name_len <= get_reply_max_size()) set_reply_data( fd->unix_name, name_len );
|
||||
else set_error( STATUS_BUFFER_OVERFLOW );
|
||||
}
|
||||
else set_error( STATUS_OBJECT_TYPE_MISMATCH );
|
||||
release_object( fd );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user