Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
775fcfde
Commit
775fcfde
authored
Oct 31, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around to make system-global hooks at least run in the thread
that set them.
parent
cf2e57d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
hook.c
server/hook.c
+2
-1
No files found.
server/hook.c
View file @
775fcfde
...
...
@@ -227,7 +227,8 @@ DECL_HANDLER(set_hook)
set_error
(
STATUS_INVALID_PARAMETER
);
return
;
}
if
(
!
(
thread
=
get_thread_from_id
(
req
->
tid
)))
return
;
if
(
!
req
->
tid
)
thread
=
(
struct
thread
*
)
grab_object
(
current
);
else
if
(
!
(
thread
=
get_thread_from_id
(
req
->
tid
)))
return
;
if
((
hook
=
add_hook
(
thread
,
req
->
id
-
WH_MINHOOK
)))
{
...
...
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