Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2003 10:11:30 -0700
From:      walt <wa1ter@myrealbox.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Linux compat broken??
Message-ID:  <3EAABDC2.8030002@myrealbox.com>
In-Reply-To: <b8dv6m$1poc$1@FreeBSD.csie.NCTU.edu.tw>
References:  <b8dv6m$1poc$1@FreeBSD.csie.NCTU.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
Tor.Egge@cvsup.no.freebsd.org wrote:

> The enclosed patch solved my problem with revision 1.43.

> diff -u -r1.43 linux_signal.c
> --- sys/compat/linux/linux_signal.c	25 Apr 2003 19:26:18 -0000	1.43
> +++ sys/compat/linux/linux_signal.c	26 Apr 2003 12:25:25 -0000
> @@ -252,7 +252,7 @@
>  	} else
>  		nmaskp = NULL;
>  	error = kern_sigprocmask(td, how, nmaskp, &omask, 0);
> -	if (error != 0 && old != NULL)
> +	if (error == 0 && old != NULL)
>  		bsd_to_linux_sigset(&omask, old);
>  
>  	return (error);

Yes!  My RealAudio is back to normal again, thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EAABDC2.8030002>