just following orders

This commit is contained in:
bdc 1996-09-28 00:23:08 +00:00
parent 7033702b2b
commit 0e67214944
1 changed files with 1 additions and 4 deletions

View File

@ -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;
}