* From: Bruce Evans <[EMAIL PROTECTED]>
* The correct answer seems to be "you can't do that" :-). Even checking
Err. Now why am I not surprised that you said that? ;)
Anyway, I have committed the following patch submitted by Alexander
Langer. It has a nice feature of working for both -current and
-stable without any additional #ifdef's. I hope it's ok.
Satoshi
=======
--- lib/libxview/notify/ntfy.h.orig Tue Jun 29 07:18:14 1993
+++ lib/libxview/notify/ntfy.h Mon Jan 10 15:50:53 2000
@@ -188,7 +197,12 @@
#define sigisempty(s) (!(((s)->__sigbits[0]) | ((s)->__sigbits[1]) \
| ((s)->__sigbits[2]) | ((s)->__sigbits[3])))
#else
-#define sigisempty(s) (!(*(s)))
+static int
+sigisempty (sigset_t *s) {
+ sigset_t n;
+ bzero(&n, sizeof(sigset_t));
+ return (! memcmp(&n, s, sizeof(sigset_t)));
+}
#endif
/*
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message