bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: broken `sigblock' defns


From: Eli Zaretskii
Subject: Re: broken `sigblock' defns
Date: Sat, 03 Nov 2001 20:25:16 +0200

> Date: Sat, 03 Nov 2001 17:22:10 (GMT)
> From: "Golubev I. N." <gin@mo.msk.ru>
> 
> No.  `SIGMASKTYPE' is defined in "syssignal.h" which should be
> affected by "config.h" with "s/" files, all of them included before
> "syssignal.h".  You try to use `SIGMASKTYPE' in "s/" file before it is
> defined.

Does it work if you add the following to src/s/sco5.h?

#define SIGMASKTYPE int

> Remember, "sysdep.c" defines `sigprocmask_set' var unconditionally, so
> `SIGMASKTYPE' defn also gets available to it unconditionally, which is
> ensured by "syssignal.h".  So why not declare `sigprocmask_set' in
> that same "syssignal.h" once and for all, unconditionally?

Because I don't want to risk breaking other platforms because of a
problem that is specific to SCO 3.2.5.  I'd prefer a change that only
affects that single system.

Specifically, some of the branches of syssignal.h that define
sigblock and sigunblock seem to imply that some of the systems have
SIGMASKTYPE defined in their system headers.  So I don't want to mess
with those other systems.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]