diff options
author | mouring <mouring> | 2002-07-22 23:34:25 +0000 |
---|---|---|
committer | mouring <mouring> | 2002-07-22 23:34:25 +0000 |
commit | 25ccbe711a04821e86fb7cc5dec0cc77787f7cd7 (patch) | |
tree | a6e48d8958ba031a5c81e367e42a97a774493945 /loginrec.c | |
parent | 5568f64083c89940c05803b3bf239d120f9c4fdf (diff) | |
download | openssh-25ccbe711a04821e86fb7cc5dec0cc77787f7cd7.tar.gz |
- (bal) [configure.ac defines.h loginrec.c sshd.c sshpty.c] Partial sync
with Cray (mostly #ifdef renaming). Patch by wendyp@cray.com.
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -163,7 +163,7 @@ #include "log.h" #include "atomicio.h" -RCSID("$Id: loginrec.c,v 1.42 2002/07/14 22:50:51 tim Exp $"); +RCSID("$Id: loginrec.c,v 1.43 2002/07/22 23:34:25 mouring Exp $"); #ifdef HAVE_UTIL_H # include <util.h> @@ -622,13 +622,13 @@ construct_utmp(struct logininfo *li, switch (li->type) { case LTYPE_LOGIN: ut->ut_type = USER_PROCESS; -#ifdef _CRAY +#if defined(_CRAY) && !defined(_CRAYSV2) cray_set_tmpdir(ut); #endif break; case LTYPE_LOGOUT: ut->ut_type = DEAD_PROCESS; -#ifdef _CRAY +#if defined(_CRAY) && !defined(_CRAYSV2) cray_retain_utmp(ut, li->pid); #endif break; |