Mercurial > emacs
changeset 8512:e357ba54e6fd
(POSIX_SIGNALS, PTY_TTY_NAME_SPRINTF, sigsetmask):
Delete those things (moved to sol2-3.h).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 11 Aug 1994 03:42:18 +0000 |
parents | be7f0e042b3c |
children | d11ec52807d6 |
files | src/s/sol2-4.h |
diffstat | 1 files changed, 0 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/src/s/sol2-4.h Thu Aug 11 03:38:09 1994 +0000 +++ b/src/s/sol2-4.h Thu Aug 11 03:42:18 1994 +0000 @@ -15,24 +15,3 @@ #undef C_SWITCH_SYSTEM #undef const #endif /* __GNUC__ */ - -/* Solaris does POSIX signals. This is copied from s/usg-5-4-2.h. */ - -#define POSIX_SIGNALS -#undef sigsetmask -#undef PTY_TTY_NAME_SPRINTF -#define PTY_TTY_NAME_SPRINTF \ - { \ - char *ptsname(), *ptyname; \ - \ - sigblock(sigmask(SIGCLD)); \ - if (grantpt(fd) == -1) \ - fatal("could not grant slave pty"); \ - sigunblock(sigmask(SIGCLD)); \ - if (unlockpt(fd) == -1) \ - fatal("could not unlock slave pty"); \ - if (!(ptyname = ptsname(fd))) \ - fatal ("could not enable slave pty"); \ - strncpy(pty_name, ptyname, sizeof(pty_name)); \ - pty_name[sizeof(pty_name) - 1] = 0; \ - }