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) |
- (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
diff --git a/loginrec.c b/loginrec.c index e121ce354..5789aad76 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -163,7 +163,7 @@ | |||
163 | #include "log.h" | 163 | #include "log.h" |
164 | #include "atomicio.h" | 164 | #include "atomicio.h" |
165 | 165 | ||
166 | RCSID("$Id: loginrec.c,v 1.33 2001/05/08 20:33:06 mouring Exp $"); | 166 | RCSID("$Id: loginrec.c,v 1.34 2001/08/06 23:29:17 mouring Exp $"); |
167 | 167 | ||
168 | #ifdef HAVE_UTIL_H | 168 | #ifdef HAVE_UTIL_H |
169 | # include <util.h> | 169 | # include <util.h> |
@@ -616,9 +616,15 @@ construct_utmp(struct logininfo *li, | |||
616 | switch (li->type) { | 616 | switch (li->type) { |
617 | case LTYPE_LOGIN: | 617 | case LTYPE_LOGIN: |
618 | ut->ut_type = USER_PROCESS; | 618 | ut->ut_type = USER_PROCESS; |
619 | #ifdef _CRAY | ||
620 | cray_set_tmpdir(ut); | ||
621 | #endif | ||
619 | break; | 622 | break; |
620 | case LTYPE_LOGOUT: | 623 | case LTYPE_LOGOUT: |
621 | ut->ut_type = DEAD_PROCESS; | 624 | ut->ut_type = DEAD_PROCESS; |
625 | #ifdef _CRAY | ||
626 | cray_retain_utmp(ut, li->pid); | ||
627 | #endif | ||
622 | break; | 628 | break; |
623 | } | 629 | } |
624 | # endif | 630 | # endif |