From 0e6721494490a8fc633bfed93d98075632a6e63d Mon Sep 17 00:00:00 2001 From: bdc Date: Sat, 28 Sep 1996 00:23:08 +0000 Subject: [PATCH] just following orders --- scsh/tty1.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scsh/tty1.c b/scsh/tty1.c index 0b34c85..f2be7d6 100644 --- a/scsh/tty1.c +++ b/scsh/tty1.c @@ -99,9 +99,7 @@ int open_ctty(const char *ttyname, int flags) { int fd = open(ttyname, flags); -/* The ifdef is tricked by HP-UX, so I'll hardwire it out for now. -Olin */ -#if 0 -#if defined(TIOCSCTTY) && !defined(CIBAUD) +#if defined(TIOCSCTTY) && !defined(CIBAUD) && !defined(__hpux) fprintf(stderr, "Doing the ioctl.\n"); /* 4.3+BSD way to acquire control tty. !CIBAUD rules out SunOS. ** This code stolen from Steven's *Advanced Prog. in the Unix Env.* @@ -112,7 +110,6 @@ int open_ctty(const char *ttyname, int flags) errno = e; return -1; } -#endif #endif return fd; }