Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d771f4d1
Commit
d771f4d1
authored
Oct 19, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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.
parent
e7c67c0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
fd.c
server/fd.c
+1
-0
No files found.
server/fd.c
View file @
d771f4d1
...
@@ -2254,6 +2254,7 @@ DECL_HANDLER(get_handle_unix_name)
...
@@ -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
);
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_BUFFER_OVERFLOW
);
}
}
else
set_error
(
STATUS_OBJECT_TYPE_MISMATCH
);
release_object
(
fd
);
release_object
(
fd
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment