From 3dd4d024cc9237fe38ca977de4e14c103e77f926 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 11 Jan 1996 03:29:24 +0000 Subject: [PATCH] Added hack by Doug Engbert to get util/pty to work under Solaris. We should double check to make sure this is a correct fix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7296 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/pty/ChangeLog | 6 ++++++ src/util/pty/open_slave.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index 28d2ad0ba..ad92d0aca 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -1,3 +1,9 @@ +Wed Jan 10 22:20:04 1996 Theodore Y. Ts'o + + * open_slave.c (pty_open_slave): Added hack by Doug Engbert to get + util/pty to work under Solaris. We should double check to + make sure this is a correct fix. + Sun Nov 12 12:44:33 1995 Sam Hartman * open_ctty.c (pty_open_ctty): Remove redundant Ultrix calls to setpgrp() diff --git a/src/util/pty/open_slave.c b/src/util/pty/open_slave.c index d7c94dcba..2f8d3bf17 100644 --- a/src/util/pty/open_slave.c +++ b/src/util/pty/open_slave.c @@ -36,6 +36,10 @@ long retval; #endif + /* XXX added by Doug Engbert to get things to work under Solaris. */ +#ifdef HAVE_SETSID + (void) setsid(); +#endif /* First, chmod and chown the slave*/ /* -- 2.26.2