Re: sigisempty?

2000-01-24 Thread Satoshi - Ports Wraith - Asami
* 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

Re: sigisempty?

2000-01-24 Thread Kelly Yancey
On 24 Jan 2000, Satoshi - Ports Wraith - Asami wrote: 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 === ---

Re: sigisempty?

2000-01-24 Thread Alexander Langer
Thus spake Satoshi - Ports Wraith - Asami ([EMAIL PROTECTED]): Langer. It has a nice feature of working for both -current and -stable without any additional #ifdef's. I hope it's ok. I now saw Garret Wollman's function. I like the use of the static-vars. The use of sigemptyset makes it

Re: sigisempty?

2000-01-19 Thread Bruce Evans
On Wed, 19 Jan 2000, Garrett Wollman wrote: On Wed, 19 Jan 2000 07:03:04 -0800 (PST), [EMAIL PROTECTED] (Satoshi Asami) said: How do I test if sigset_t is empty in -current? The xview sources have this macro: int sigisempty(sigset_t *my_sigset) { static sigset_t empty_ss;

Re: sigisempty?

2000-01-19 Thread Anton Berezin
On Wed, Jan 19, 2000 at 07:03:04AM -0800, Satoshi Asami wrote: How do I test if sigset_t is empty in -current? The xview sources have this macro: #define sigisempty(s) (!(*(s))) which is ok for the old sigset_t (unsigned int) but obviously won't work for the new one since it's a