+
Sat Jan 27 01:13:34 1996 Mark Eichin <eichin@cygnus.com>
* void_assoc.c (ptyint_void_association): if we don't have
TIOCNOTTY (HP/UX 9 for example) don't try to use it.
+Fri Jan 26 00:26:37 1996 Sam Hartman <hartmans@tertius.mit.edu>
+
+ * cleanup.c (pty_cleanup): Update utmp only if update_utmp is true.
+
Tue Jan 16 13:52:22 1996 Sam Hartman <hartmans@tertius.mit.edu>
- * void_assoc.c (ptyint_void_association): Move setsid call from open_ctty to void_association.
+ * void_assoc.c (ptyint_void_association): Move setsid call from
+ open_ctty to void_association.
* logwtmp.c (pty_logwtmp): Pass user argument to update_wtmp.
/*
* pty_cleanup: Kill processes associated with pty.
*
- * Copyright 1995 by the Massachusetts Institute of Technology.
+ * (C)Copyright 1995, 1996 by the Massachusetts Institute of Technology.
*
*
* Permission to use, copy, modify, and distribute this software and
{
int retval, fd;
- pty_update_utmp(PTY_DEAD_PROCESS,0, "", slave, (char *)0, PTY_UTMP_USERNAME_VALID);
+ if (update_utmp)
+ pty_update_utmp(PTY_DEAD_PROCESS,0, "", slave, (char *)0, PTY_UTMP_USERNAME_VALID);
(void)chmod(slave, 0666);
(void)chown(slave, 0, 0);