comparison src/s/rtu.h @ 26090:63fd40a97a75

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.
author Paul Eggert <eggert@twinsun.com>
date Tue, 19 Oct 1999 07:28:36 +0000
parents 02044b05d8e0
children 566fd2a966aa
comparison
equal deleted inserted replaced
26089:1a4c3573a216 26090:63fd40a97a75
1 /* Definitions file for GNU Emacs running on RTU 3.0, ucb universe. 1 /* Definitions file for GNU Emacs running on RTU 3.0, ucb universe.
2 Copyright (C) 1986 Free Software Foundation, Inc. 2 Copyright (C) 1986, 1999 Free Software Foundation, Inc.
3 3
4 This file is part of GNU Emacs. 4 This file is part of GNU Emacs.
5 5
6 GNU Emacs is free software; you can redistribute it and/or modify 6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
125 125
126 #define LDAV_SYMBOL "_avenrun" 126 #define LDAV_SYMBOL "_avenrun"
127 127
128 /* Special hacks needed to make Emacs run on this system. */ 128 /* Special hacks needed to make Emacs run on this system. */
129 129
130 /* On RTU systems (like USG) the system calls are interruptible by signals
131 that the user program has elected to catch. Thus the system call
132 must be retried in these cases. To handle this without massive
133 changes in the source code, we remap the standard system call names
134 to names for our own functions in sysdep.c that do the system call
135 with retries. */
136
137 #define read sys_read
138 #define open sys_open
139 #define write sys_write
140
141 #define INTERRUPTIBLE_OPEN
142 #define INTERRUPTIBLE_IO
143
144 /* The "fsync" call on RTU versions 3.0 and 3.1 is badly broken! 130 /* The "fsync" call on RTU versions 3.0 and 3.1 is badly broken!
145 This hack below isn't the best solution, but without it this 131 This hack below isn't the best solution, but without it this
146 program will cause the whole system to hang! !@#$#%$ Masscomp! */ 132 program will cause the whole system to hang! !@#$#%$ Masscomp! */
147 133
148 #define fsync(x) 0 /* "Comment out" fsync calls */ 134 #define fsync(x) 0 /* "Comment out" fsync calls */