From bb7b4368705653b7a2de353e4fd689f5cc8798f9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 19 Oct 1999 07:28:36 +0000 Subject: s/usg5-4.h: (NSIG): Remove. (NSIG_MINIMUM): New macro. s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/umips.h, s/usg5-4.h: (SIGIO): Do not undef. (BROKEN_SIGIO): New macro. * s/gnu-linux.h: (SIGPOLL, SIGURG): Do not undef. (BROKEN_SIGPOLL, BROKEN_SIGURG): New macros. * s/ptx4.h: (SIGINFO): Do not undef. (BROKEN_SIGINFO): New macros. * s/ptx.h, s/template.h: Doc fix. * s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h, s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h, s/usg5-3.h, s/xenix.h: (open, close, read, write, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove. * s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros. --- src/s/gnu-linux.h | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) (limited to 'src/s/gnu-linux.h') diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 2b9a80cf1a8..68b3e8d5a41 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -1,5 +1,5 @@ /* This file is the configuration file for Linux-based GNU systems - Copyright (C) 1985, 1986, 1992, 1994, 1996 Free Software Foundation, Inc. + Copyright (C) 1985, 86, 92, 94, 96, 1999 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -112,22 +112,6 @@ Boston, MA 02111-1307, USA. */ your system and must be used only through an encapsulation (Which you should place, by convention, in sysdep.c). */ -/* On POSIX systems the system calls are interruptible by signals - that the user program has elected to catch. Thus the system call - must be retried in these cases. To handle this without massive - changes in the source code, we remap the standard system call names - to names for our own functions in sysdep.c that do the system call - with retries. */ - -#define read sys_read -#define write sys_write -#define open sys_open -#define close sys_close - -#define INTERRUPTIBLE_OPEN -#define INTERRUPTIBLE_CLOSE -#define INTERRUPTIBLE_IO - /* If you mount the proc file system somewhere other than /proc you will have to uncomment the following and make the proper changes */ @@ -172,16 +156,15 @@ Boston, MA 02111-1307, USA. */ /* As of version 1.1.51, Linux did not actually implement SIGIO. But it works in newer versions. */ -/* Here we assume that signal.h is already included. */ #ifdef emacs #ifdef LINUX_SIGIO_DOES_WORK #define INTERRUPT_INPUT #else -#undef SIGIO +#define BROKEN_SIGIO /* Some versions of Linux define SIGURG and SIGPOLL as aliases for SIGIO. This prevents lossage in process.c. */ -#undef SIGURG -#undef SIGPOLL +#define BROKEN_SIGURG +#define BROKEN_SIGPOLL #endif #endif -- cgit v1.2.1