aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2012-07-12 21:19:06 -0400
committerGlenn Morris2012-07-12 21:19:06 -0400
commit739ae01050106b1dda211c09f411b49a70b47c4e (patch)
tree371f89ebf46f02ce96f8c00b8512feb6592de39a /src
parentdbee57935d2ca614c6ec052f1f26a4c67bc7eaa8 (diff)
downloademacs-739ae01050106b1dda211c09f411b49a70b47c4e.tar.gz
emacs-739ae01050106b1dda211c09f411b49a70b47c4e.zip
Move NSIG_MINIMUM from src/s to configure
* configure.ac (NSIG_MINIMUM): Move here from src/s. * src/s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/s/usg5-4-common.h5
-rw-r--r--src/syssignal.h1
3 files changed, 3 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c66b38147ff..65d9ae916b9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12012-07-13 Glenn Morris <rgm@gnu.org> 12012-07-13 Glenn Morris <rgm@gnu.org>
2 2
3 * s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
4
3 * s/gnu-linux.h, s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE. 5 * s/gnu-linux.h, s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE.
4 6
5 * process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION. 7 * process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION.
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h
index 3d3cea803dc..883d0b5dc21 100644
--- a/src/s/usg5-4-common.h
+++ b/src/s/usg5-4-common.h
@@ -46,11 +46,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46#include <sys/termios.h> 46#include <sys/termios.h>
47#endif 47#endif
48 48
49/* Some SVr4s don't define NSIG in sys/signal.h for ANSI environments;
50 instead, there's a system variable _sys_nsig. Unfortunately, we need the
51 constant to dimension an array. So wire in the appropriate value here. */
52#define NSIG_MINIMUM 32
53
54/* It is possible to receive SIGCHLD when there are no children 49/* It is possible to receive SIGCHLD when there are no children
55 waiting, because a previous waitsys(2) cleaned up the carcass of child 50 waiting, because a previous waitsys(2) cleaned up the carcass of child
56 without clearing the SIGCHLD pending info. So, use a non-blocking 51 without clearing the SIGCHLD pending info. So, use a non-blocking
diff --git a/src/syssignal.h b/src/syssignal.h
index d4578839596..71151ed4c6a 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -98,6 +98,7 @@ _Noreturn void croak (char *);
98#endif 98#endif
99 99
100 100
101/* FIXME? Emacs only defines NSIG_MINIMUM on some platforms? */
101#if NSIG < NSIG_MINIMUM 102#if NSIG < NSIG_MINIMUM
102# ifdef NSIG 103# ifdef NSIG
103# undef NSIG 104# undef NSIG