[2/5] server: Set error to STATUS_PROCESS_IS_TERMINATING if the process is terminating.
Dmitry Timoshkov
dmitry at baikal.ru
Wed May 8 00:33:20 CDT 2013
Noticed this while looking at the last error set by ReadProcessMemory().
---
server/ptrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
1.8.2.2
More information about the wine-patches
mailing list