Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2003 12:47:44 GMT
From:      Tor.Egge@cvsup.no.freebsd.org
To:        jhb@freebsd.org
Cc:        current@freebsd.org
Subject:   RE: Linux compat broken??
Message-ID:  <20030426124744F.tegge@cvsup.no.freebsd.org>
In-Reply-To: <XFMail.20030425120745.jhb@FreeBSD.org>
References:  <1051238620.36298.14.camel@localhost> <XFMail.20030425120745.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sat_Apr_26_12:46:08_2003_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> Revert basically means to back out.  :)  In this case go back to revision
> 1.41.

The enclosed patch solved my problem with revision 1.43.

- Tor Egge

----Next_Part(Sat_Apr_26_12:46:08_2003_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=lsigdiff

Index: sys/compat/linux/linux_signal.c
===================================================================
RCS file: /home/ncvs/src/sys/compat/linux/linux_signal.c,v
retrieving 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);

----Next_Part(Sat_Apr_26_12:46:08_2003_809)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030426124744F.tegge>