From: ayin Date: Wed, 18 Jan 2006 08:40:22 +0000 (+0000) Subject: Remove WTMP_ONLY_ON_LOGIN. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=7cc138cc71999357c2dc656406e1b55255456d5d;p=dana%2Furxvt.git Remove WTMP_ONLY_ON_LOGIN. --- diff --git a/src/feature.h b/src/feature.h index 2dca38e2..fd9cb9b6 100644 --- a/src/feature.h +++ b/src/feature.h @@ -257,11 +257,6 @@ */ #define RESET_TTY_TO_COMMON_DEFAULTS -/* - * Only log in wtmp file when we're a login shell (-ls option) - */ -#define WTMP_ONLY_ON_LOGIN - /*--------------------------------BELL----------------------------------*/ /* * Disable all bell indications diff --git a/src/logging.C b/src/logging.C index 46424481..7574d360 100644 --- a/src/logging.C +++ b/src/logging.C @@ -205,9 +205,7 @@ rxvt_ptytty_unix::login (int cmd_pid, bool login_shell, const char *hostname) #endif #ifdef WTMP_SUPPORT -# ifdef WTMP_ONLY_ON_LOGIN if (login_shell) -# endif { # ifdef HAVE_STRUCT_UTMP # ifdef HAVE_UPDWTMP @@ -281,9 +279,7 @@ rxvt_ptytty_unix::logout () * Write ending wtmp entry */ #ifdef WTMP_SUPPORT -# ifdef WTMP_ONLY_ON_LOGIN if (login_shell) -# endif { # ifdef HAVE_STRUCT_UTMP # ifdef HAVE_UPDWTMP