From fc21989df094ef196a635b57df65ea537921cf87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Groenvall?= Date: Fri, 1 Nov 1996 16:46:47 +0000 Subject: [PATCH] Even when there are utmpx files on this system we should also log to the utmp files. If there are no utmp files we of course don't have to log to them. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@918 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/login/utmp_login.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/appl/login/utmp_login.c b/appl/login/utmp_login.c index c4e261434..4a0c4a16f 100644 --- a/appl/login/utmp_login.c +++ b/appl/login/utmp_login.c @@ -44,7 +44,6 @@ RCSID("$Id$"); void utmp_login(char *tty, char *username, char *hostname) { -#ifndef HAVE_UTMPX struct utmp utmp; struct hostent *he; int fd; @@ -119,5 +118,4 @@ void utmp_login(char *tty, char *username, char *hostname) write(fd, (char *)&utmp, sizeof(struct utmp)); close(fd); } -#endif /* HAVE_UTMPX */ }