On Tuesday, 9 May 2000, [EMAIL PROTECTED] wrote:

> -- Problem description:
> When compiling, SA_NOMASK is undefined.

> -- Other comments:
> Checking a RedHat 6.2 machine indicates this is simply
> #define'ed from SA_NODEFER. Adding the folowing code to
> app/main.c and libgimp/gimp.c solves the problem:
> #ifndef SA_NOMASK
> #endif

Why are we even _trying_ to set SA_NOMASK or SA_NODEFER?

SA_NODEFER is a SVR4-ism, SA_NOMASK is as linux-ism, and neither of
them are desirable.  As far as I understand it, this asked that while
the signal handling function runs, the signal being processed is not
blocked.  This is really quite dangerous behaviour, since the signal
handler must now be made reentrant.

I don't understand why we're going to quite a lot of trouble to enable
a "feature" we really don't want in the first place!


Reply via email to