From a0313901f00312c4df437ba88e5b057af5da7e21 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jan 2006 10:27:27 +0000 Subject: [PATCH] *** empty log message *** --- src/ptytty.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ptytty.C b/src/ptytty.C index 2c240984..a583743c 100644 --- a/src/ptytty.C +++ b/src/ptytty.C @@ -278,7 +278,7 @@ control_tty (int fd_tty) { setsid (); -# if defined(PTYS_ARE_PTMX) && defined(I_PUSH) +#if defined(PTYS_ARE_PTMX) && defined(I_PUSH) /* * Push STREAMS modules: * ptem: pseudo-terminal hardware emulation module. @@ -296,15 +296,15 @@ control_tty (int fd_tty) * close () - on the master side which causes a hang up to be sent * through - Geoff Wing */ -# ifdef HAVE_ISASTREAM +# ifdef HAVE_ISASTREAM if (isastream (fd_tty) == 1) -# endif +# endif { ioctl (fd_tty, I_PUSH, "ptem"); ioctl (fd_tty, I_PUSH, "ldterm"); ioctl (fd_tty, I_PUSH, "ttcompat"); } -# endif +#endif ioctl (fd_tty, TIOCSCTTY, NULL); -- 2.34.1