Module: wine Branch: master Commit: bfe3b3bdb6759a4ea525aa4cba662954fd19efca URL: http://source.winehq.org/git/wine.git/?a=commit;h=bfe3b3bdb6759a4ea525aa4cba...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Wed May 8 14:33:20 2013 +0900
server: Set error to STATUS_PROCESS_IS_TERMINATING if the process is terminating.
---
server/ptrace.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/ptrace.c b/server/ptrace.c index 9788339..ed72b7d 100644 --- a/server/ptrace.c +++ b/server/ptrace.c @@ -322,7 +322,7 @@ static struct thread *get_ptrace_thread( struct process *process ) { if (thread->unix_pid != -1) return thread; } - set_error( STATUS_ACCESS_DENIED ); /* process is dead */ + set_error( STATUS_PROCESS_IS_TERMINATING ); /* process is dead */ return NULL; }