]> andersk Git - openssh.git/blobdiff - sshpty.c
- (dtucker) [acconfig.h configure.ac defines.h includes.h sshpty.c
[openssh.git] / sshpty.c
index efd1dfefa35d2ade44a70baaa0683daaf4647514..36788c4d794a69d62ba0bb457d960f97109f2be3 100644 (file)
--- a/sshpty.c
+++ b/sshpty.c
@@ -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();
This page took 0.041594 seconds and 4 git commands to generate.