summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-08-11 03:42:18 +0000
committerRichard M. Stallman <rms@gnu.org>1994-08-11 03:42:18 +0000
commit923efbbe7c3fdfd873a4518b2e80a4f67995433d (patch)
tree9a98b2a38d03887ae5eb4b7e50227e7db17e4bb9
parent200937a9d9e1b4f19199ad8097a4705ee0918d93 (diff)
downloademacs-923efbbe7c3fdfd873a4518b2e80a4f67995433d.tar.gz
(POSIX_SIGNALS, PTY_TTY_NAME_SPRINTF, sigsetmask):
Delete those things (moved to sol2-3.h).
-rw-r--r--src/s/sol2-4.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/s/sol2-4.h b/src/s/sol2-4.h
index 21a74ca3520..b4d9c68d028 100644
--- a/src/s/sol2-4.h
+++ b/src/s/sol2-4.h
@@ -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; \
- }