diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2000-10-18 00:02:25 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2000-10-18 00:02:25 +0000 |
commit | b5628647ad1e48d026064e5acc0d8dc0b8021cfa (patch) | |
tree | 645c6dc3a5b3b0e24ec4f7308e9fc1b7823bb0fa /pty.c | |
parent | 2594de81d301188108c1accbd4f937a86d70db1c (diff) |
- (bal) Changed from GNU rx to PCRE on suggestion from djm.
- (bal) Integrated Sony NEWS-OS patches from NAKAJI Hirouyuki
<nakaji@tutrp.tut.ac.jp>
Diffstat (limited to 'pty.c')
-rw-r--r-- | pty.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -242,6 +242,10 @@ pty_make_controlling_tty(int *ttyfd, const char *ttyname) */ ioctl(*ttyfd, TIOCSCTTY, NULL); #endif /* TIOCSCTTY */ +#ifdef HAVE_NEWS4 + if (setpgrp(0,0) < 0) + error("SETPGRP %s",strerror(errno)); +#endif /* HAVE_NEWS4 */ #ifdef USE_VHANGUP old = signal(SIGHUP, SIG_IGN); vhangup(); |