* m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now.
authorPaul Eggert <eggert@twinsun.com>
Tue, 19 Oct 1999 07:27:16 +0000 (07:27 +0000)
committerPaul Eggert <eggert@twinsun.com>
Tue, 19 Oct 1999 07:27:16 +0000 (07:27 +0000)
(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.

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

index 4440421..f211ef1 100644 (file)
@@ -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 @@ NOTE-END
 /* 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 @@ extern void r_alloc_free ();
       if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
        fd = -1;                                        \
       sigsetmask (mask);                               \
-      close (dummy);                                   \
+      emacs_close (dummy);                             \
     }                                                  \
   while (0)
 #endif
index 08887b4..9b4bb74 100644 (file)
@@ -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 @@ extern int sign_extend_temp;
 #define STACK_DIRECTION -1
 
 /* Compensate for error in signal.h.  */
-#if NSIG==19
-#undef NSIG
-#define NSIG 20
-#endif
+#define NSIG_MINIMUM 20
index fe224f2..5c8fe36 100644 (file)
@@ -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 @@ Boston, MA 02111-1307, USA.  */
 
 /* We can't do interrupt-driven input, so don't let user try.  */
 
-#undef SIGIO
+#define BROKEN_SIGIO
index ee88365..8e8498b 100644 (file)
@@ -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 @@ Boston, MA 02111-1307, USA.  */
 #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.
index 978b2fc..4e72182 100644 (file)
@@ -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 @@ Boston, MA 02111-1307, USA.  */
  * 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 @@ Boston, MA 02111-1307, USA.  */
 #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 @@ Boston, MA 02111-1307, USA.  */
  * 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
index 6c655ea..d1b80c8 100644 (file)
@@ -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 @@ Boston, MA 02111-1307, USA.  */
 { /* 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 */    \
index f2da4a2..c7ba915 100644 (file)
@@ -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 @@ NOTE-END  */
 #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.  */
index 561ba15..5b8d47a 100644 (file)
@@ -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 @@ Boston, MA 02111-1307, USA.  */
 
 #define NO_SIOCTL_H
 
-#undef SIGIO
+#define BROKEN_SIGIO
index 40f67c8..f1e83e2 100644 (file)
@@ -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 @@ Boston, MA 02111-1307, USA.  */
 /* 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). */
 
index 3e031eb..770ffe9 100644 (file)
@@ -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 @@ Boston, MA 02111-1307, USA.  */
    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.  */
index b73ff29..70a9945 100644 (file)
@@ -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 @@ Boston, MA 02111-1307, USA.  */
 #define EXEC_PAGESIZE 1024
 #define PURESIZE 130000
 
-#undef SIGIO
-#undef SIGTSTP
+#define BROKEN_SIGIO
+#define BROKEN_SIGTSTP