Charles Davis <[email protected]> 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
[email protected]


Reply via email to