diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 23:29:16 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 23:29:16 +0000 |
commit | 6db66ff3877f52110cda3104e798d91091af7200 (patch) | |
tree | 29ce760512a91bdd7bdc6a7961e3d851404afeff /loginrec.c | |
parent | ff2866cf5198be7669423641538bb910080ee029 (diff) | |
download | openssh-git-6db66ff3877f52110cda3104e798d91091af7200.tar.gz |
- (bal) Second around of UNICOS patches. A few other things left.
Patches by William L. Jones <jones@mail.utexas.edu>
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -163,7 +163,7 @@ #include "log.h" #include "atomicio.h" -RCSID("$Id: loginrec.c,v 1.33 2001/05/08 20:33:06 mouring Exp $"); +RCSID("$Id: loginrec.c,v 1.34 2001/08/06 23:29:17 mouring Exp $"); #ifdef HAVE_UTIL_H # include <util.h> @@ -616,9 +616,15 @@ construct_utmp(struct logininfo *li, switch (li->type) { case LTYPE_LOGIN: ut->ut_type = USER_PROCESS; +#ifdef _CRAY + cray_set_tmpdir(ut); +#endif break; case LTYPE_LOGOUT: ut->ut_type = DEAD_PROCESS; +#ifdef _CRAY + cray_retain_utmp(ut, li->pid); +#endif break; } # endif |