diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-05-27 21:13:40 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-05-27 21:13:40 +1000 |
commit | 2be1cbb7be25d32bc5741c96cc4d6951bd91fc30 (patch) | |
tree | 576901c63af5bc125eafd90698dcf41a20a89f48 /sshpty.c | |
parent | 287b4591945c27b374f810f44053b33206fb5eec (diff) | |
download | openssh-git-2be1cbb7be25d32bc5741c96cc4d6951bd91fc30.tar.gz |
- (dtucker) [acconfig.h configure.ac defines.h includes.h sshpty.c
openbsd-compat/bsd-misc.c] Add support for Ultrix. No, that's not a typo.
Required changes from Bernhard Simon, integrated by me. ok djm@
Diffstat (limited to 'sshpty.c')
-rw-r--r-- | sshpty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,10 +128,10 @@ pty_make_controlling_tty(int *ttyfd, const char *tty) if (ioctl(*ttyfd, TIOCSCTTY, NULL) < 0) error("ioctl(TIOCSCTTY): %.100s", strerror(errno)); #endif /* TIOCSCTTY */ -#ifdef HAVE_NEWS4 +#ifdef NEED_SETPGRP if (setpgrp(0,0) < 0) error("SETPGRP %s",strerror(errno)); -#endif /* HAVE_NEWS4 */ +#endif /* NEED_SETPGRP */ #ifdef USE_VHANGUP old = signal(SIGHUP, SIG_IGN); vhangup(); |