diff options
| author | Paul Eggert | 1999-10-19 07:28:36 +0000 |
|---|---|---|
| committer | Paul Eggert | 1999-10-19 07:28:36 +0000 |
| commit | bb7b4368705653b7a2de353e4fd689f5cc8798f9 (patch) | |
| tree | cf00a391f0b59b71eb5acd30d8c3ef0fff8d40c8 /src/s/sol2-3.h | |
| parent | 332d98c75d54e8a9eead3a1c2fbeb171d94bb7dd (diff) | |
| download | emacs-bb7b4368705653b7a2de353e4fd689f5cc8798f9.tar.gz emacs-bb7b4368705653b7a2de353e4fd689f5cc8798f9.zip | |
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.
Diffstat (limited to 'src/s/sol2-3.h')
| -rw-r--r-- | src/s/sol2-3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/s/sol2-3.h b/src/s/sol2-3.h index 9d9018aa0be..a4fc6097905 100644 --- a/src/s/sol2-3.h +++ b/src/s/sol2-3.h | |||
| @@ -39,12 +39,12 @@ | |||
| 39 | \ | 39 | \ |
| 40 | sigblock (sigmask (SIGCLD)); \ | 40 | sigblock (sigmask (SIGCLD)); \ |
| 41 | if (grantpt (fd) == -1) \ | 41 | if (grantpt (fd) == -1) \ |
| 42 | { close (fd); return -1; } \ | 42 | { emacs_close (fd); return -1; } \ |
| 43 | sigunblock (sigmask (SIGCLD)); \ | 43 | sigunblock (sigmask (SIGCLD)); \ |
| 44 | if (unlockpt (fd) == -1) \ | 44 | if (unlockpt (fd) == -1) \ |
| 45 | { close (fd); return -1; } \ | 45 | { emacs_close (fd); return -1; } \ |
| 46 | if (!(ptyname = ptsname (fd))) \ | 46 | if (!(ptyname = ptsname (fd))) \ |
| 47 | { close (fd); return -1; } \ | 47 | { emacs_close (fd); return -1; } \ |
| 48 | strncpy (pty_name, ptyname, sizeof (pty_name)); \ | 48 | strncpy (pty_name, ptyname, sizeof (pty_name)); \ |
| 49 | pty_name[sizeof (pty_name) - 1] = 0; \ | 49 | pty_name[sizeof (pty_name) - 1] = 0; \ |
| 50 | } | 50 | } |