From: Theodore Tso Date: Thu, 11 Jan 1996 03:29:24 +0000 (+0000) Subject: Added hack by Doug Engbert to get util/pty to work under Solaris. We X-Git-Tag: krb5-1.0-beta6~638 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3dd4d024cc9237fe38ca977de4e14c103e77f926;p=krb5.git 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 --- 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*/ /*