- (bal) Set the correct current time in login_utmp_only(). Patch by

Wayne Davison <wayned@users.sourceforge.net>
This commit is contained in:
Ben Lindstrom 2001-10-26 15:56:55 +00:00
parent 9335669e3a
commit 9197c59493
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
20011026
- (bal) Set the correct current time in login_utmp_only(). Patch by
Wayne Davison <wayned@users.sourceforge.net>
20011025
- (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch
by todd@
@ -6763,4 +6767,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1618 2001/10/25 17:01:30 tim Exp $
$Id: ChangeLog,v 1.1619 2001/10/26 15:56:55 mouring Exp $

View File

@ -163,7 +163,7 @@
#include "log.h"
#include "atomicio.h"
RCSID("$Id: loginrec.c,v 1.36 2001/10/22 06:49:23 djm Exp $");
RCSID("$Id: loginrec.c,v 1.37 2001/10/26 15:56:56 mouring Exp $");
#ifdef HAVE_UTIL_H
# include <util.h>
@ -448,6 +448,7 @@ int
login_utmp_only(struct logininfo *li)
{
li->type = LTYPE_LOGIN;
login_set_current_time(li);
# ifdef USE_UTMP
utmp_write_entry(li);
# endif