entries, as they confuse last on some systems. [pty/569]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10520
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Apr 6 19:35:33 1998 Tom Yu <tlyu@voltage-multiplier.mit.edu>
+
+ * update_utmp.c (pty_update_utmp): Don't record LOGIN_PROCESS
+ entries, as they confuse last on some systems. [pty/569]
+
Thu Mar 12 18:09:25 1998 Tom Yu <tlyu@mit.edu>
* update_utmp.c (pty_update_utmp): Fix bogus entry of
#endif /* HAVE_SETUTENT */
- return ptyint_update_wtmp(&ent, host, userbuf);
+ /* Don't record LOGIN_PROCESS entries. */
+ if (process_type == PTY_LOGIN_PROCESS)
+ return 0;
+ else
+ return ptyint_update_wtmp(&ent, host, userbuf);
}