changeset 26089:1a4c3573a216

* m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now. (NSIG): Remove. (NSIG_MINIMUM): New macro. * m/cydra5.h, m/dpx2.h, m/mips.h, m/pfa50.h, m/sps7.h, m/stride.h, m/ustation.h: (SIGIO): Do not undef. (BROKEN_SIGIO): New macro. * m/ustation.h: (SIGTSTP): Do not undef. (BROKEN_SIGTSTP): New macro. * m/delta.h: Doc fix.
author Paul Eggert <eggert@twinsun.com>
date Tue, 19 Oct 1999 07:27:16 +0000
parents b7aa6ac26872
children 63fd40a97a75
files src/m/alpha.h src/m/amdahl.h src/m/cydra5.h src/m/delta.h src/m/dpx2.h src/m/ibmrt-aix.h src/m/mips.h src/m/pfa50.h src/m/sps7.h src/m/stride.h src/m/ustation.h
diffstat 11 files changed, 25 insertions(+), 43 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/alpha.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/alpha.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* machine description file For the alpha chip.
-   Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -241,8 +241,6 @@
 /* We need these because pointers are larger than the default ints.  */
 #if !defined(__NetBSD__) && !defined(__OpenBSD__)
 #include <alloca.h>
-#else
-#include <stdlib.h>
 #endif
 
 /* Hack alert!  For reasons unknown to mankind the string.h file insists
@@ -299,7 +297,7 @@
       if (-1 == openpty (&fd, &dummy, pty_name, 0, 0))	\
 	fd = -1;					\
       sigsetmask (mask);				\
-      close (dummy);					\
+      emacs_close (dummy);				\
     }							\
   while (0)
 #endif
--- a/src/m/amdahl.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/amdahl.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* amdahl machine description file 
-   Copyright (C) 1987 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -150,7 +150,4 @@
 #define STACK_DIRECTION -1
 
 /* Compensate for error in signal.h.  */
-#if NSIG==19
-#undef NSIG
-#define NSIG 20
-#endif
+#define NSIG_MINIMUM 20
--- a/src/m/cydra5.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/cydra5.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* machine description file for Cydrome's CYDRA 5 mini super computer
-   Copyright (C) 1988 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -123,4 +123,4 @@
 
 /* We can't do interrupt-driven input, so don't let user try.  */
 
-#undef SIGIO
+#define BROKEN_SIGIO
--- a/src/m/delta.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/delta.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,7 +1,7 @@
 /* Machine description file for the Motorola Delta.
    Tested on mvme147 board using R3V7 without X.  Tested with gcc.
    Tested on mvme167 board using R3V7 without X.  Tested with cc, gnucc, gcc.
-   Copyright (C) 1986, 1993, 1994 Free Software Foundation, Inc.
+   Copyright (C) 1986, 1993, 1994, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -137,11 +137,6 @@
 #undef KERNEL_FILE
 #define KERNEL_FILE "/sysv68"
 #undef LDAV_SYMBOL
-#ifdef SIGIO
- /* R3V7 has SIGIO, but interrupt input does not work yet.
-    Let's go on with cbreak code. */
-/* # define INTERRUPT_INPUT */
-#endif
 
 /* The standard C library is -lc881, not -lc.
    -lbsd brings sigblock and sigsetmask.
--- a/src/m/dpx2.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/dpx2.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* machine description for Bull DPX/2 range 
-   Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+   Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -151,9 +151,7 @@
  * if SIGIO is defined, much of the emacs
  * code assumes we are BSD !!
  */
-#ifdef SIGIO
-# undef SIGIO
-#endif
+#define BROKEN_SIGIO
 
 
 /*
@@ -162,7 +160,6 @@
 #define CLASH_DETECTION		/* probably a good idea */
 
 
-#ifdef SIGTSTP
 /*
  * sysdep.c(sys_suspend) works fine with emacs-18.58
  * and BOS 02.00.45, if you have an earler version
@@ -170,10 +167,9 @@
  * to start a sub-shell rather than suspend-emacs,
  * un-comment out the next line.
  */
-/* # undef SIGTSTP /* make suspend-emacs spawn a sub-shell */
-# ifdef NOMULTIPLEJOBS
-#   undef NOMULTIPLEJOBS
-# endif
+/* # define BROKEN_SIGTSTP /* make suspend-emacs spawn a sub-shell */
+#ifdef NOMULTIPLEJOBS
+# undef NOMULTIPLEJOBS
 #endif
 /*
  * no we don't want this at all
--- a/src/m/ibmrt-aix.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/ibmrt-aix.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* RTPC AIX machine/system dependent defines
-   Copyright (C) 1988 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -106,7 +106,7 @@
 { /* Check that server side not already open */		\
   if ((ioctl (*ptyv, PTYSTATUS, 0) & 0xFFFF) != 0)	\
     {							\
-      close (*ptyv);					\
+      emacs_close (*ptyv);				\
       continue;						\
     }							\
   /* And finally to be sure we can open it later */	\
--- a/src/m/mips.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/mips.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* m- file for Mips machines.
-   Copyright (C) 1987, 1992 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1992, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -198,7 +198,7 @@
 #undef static
 
 /* Don't try to use SIGIO or FIONREAD even though they are defined.  */
-#undef SIGIO
+#define BROKEN_SIGIO
 #define BROKEN_FIONREAD
 
 /* Describe special kernel features.  */
--- a/src/m/pfa50.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/pfa50.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* Machine description file for PFU A-series.
-   Copyright (C) 1988 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -91,4 +91,4 @@
 
 #define NO_SIOCTL_H
 
-#undef SIGIO
+#define BROKEN_SIGIO
--- a/src/m/sps7.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/sps7.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* machine description file for Bull SPS-7.
-   Copyright (C) 1986 Free Software Foundation, Inc.
+   Copyright (C) 1986, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -99,12 +99,8 @@
 /* Use -T32 for 68020, -T16 otherwise */
 
 #define C_SWITCH_MACHINE -T32
-
-/*
-   Here we assume that signal.h is included before config.h
-   so that we can override it here.  */
   
-#undef SIGIO
+#define BROKEN_SIGIO
 
 /* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */
 
--- a/src/m/stride.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/stride.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* Definitions file for GNU Emacs running on Stride Micro System-V.2.2
-   Copyright (C) 1985, 1986 Free Software Foundation, Inc.
+   Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -101,7 +101,7 @@
    signals without losing them.  So, I've gone back to non-SIGIO mode, so
    please append this line to the file "stride.h":
  */
-#undef SIGIO
+#define BROKEN_SIGIO
 
 /* Specify alignment requirement for start of text and data sections
    in the executable file.  */
--- a/src/m/ustation.h	Tue Oct 19 07:25:11 1999 +0000
+++ b/src/m/ustation.h	Tue Oct 19 07:27:16 1999 +0000
@@ -1,5 +1,5 @@
 /* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30).
-   Copyright (C) 1986 Free Software Foundation, Inc.
+   Copyright (C) 1986, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -139,5 +139,5 @@
 #define EXEC_PAGESIZE 1024
 #define PURESIZE 130000
 
-#undef SIGIO
-#undef SIGTSTP
+#define BROKEN_SIGIO
+#define BROKEN_SIGTSTP