just following orders
This commit is contained in:
parent
7033702b2b
commit
0e67214944
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue