From c14e04d59dd3624228a6aaf88b08df61e13f4429 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 9 Aug 1995 00:48:10 +0000 Subject: [PATCH] * update_utmp.c (pty_update_utmp): change #ifdef NO_UT_PID to #ifndef git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6473 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/pty/ChangeLog | 7 ++++++- src/util/pty/update_utmp.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index 5a4d41fe1..56d5e36ba 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -1,9 +1,14 @@ +Tue Aug 8 20:47:01 1995 Tom Yu + + * update_utmp.c (pty_update_utmp): change #ifdef NO_UT_PID to + #ifndef + Tue Aug 8 09:13:50 1995 Sam Hartman * open_slave.c (pty_open_slave): Dissociate from controlling terminal before calling revoke. (pty_open_slave): Don't ask for a controlling terminal unless we need it. -======= + Tue Aug 8 20:32:08 1995 Tom Yu * update_utmp.c: flush preprocessor directive to left margin. diff --git a/src/util/pty/update_utmp.c b/src/util/pty/update_utmp.c index dd5fbd9b4..9e40ec7e3 100644 --- a/src/util/pty/update_utmp.c +++ b/src/util/pty/update_utmp.c @@ -48,7 +48,7 @@ long pty_update_utmp (process_type, pid, username, line, host) strncpy(ent.ut_line, line+sizeof("/dev/")-1, sizeof(ent.ut_line)); ent.ut_time = time(0); -#ifdef NO_UT_PID +#ifndef NO_UT_PID ent.ut_pid = pid; switch ( process_type ) { case PTY_LOGIN_PROCESS: -- 2.26.2