8 Oct
2011
8 Oct
'11
5:48 p.m.
Charles Davis <cdavis(a)mymail.mines.edu> writes:
@@ -268,9 +256,9 @@ int send_thread_signal( struct thread *thread, int sig ) if (!mach_port_extract_right( process_port, thread->unix_tid, MACH_MSG_TYPE_COPY_SEND, &port, &type )) { - if ((ret = pthread_kill_syscall( port, sig )) < 0) + if ((ret = syscall( SYS___pthread_kill, port, sig )) != 0) { - errno = -ret; + errno = ret;
syscall is supposed to take care of errno. -- Alexandre Julliard julliard(a)winehq.org