{
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.
* 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);