|
Line
Link Here
|
| 0 |
-- openssh-4.0p1/loginrec.c 2005-02-15 16:49:28.000000000 +0530 |
0 |
++ openssh-4.0p1-2entry/loginrec.c 2005-05-11 11:05:52.000000000 +0530 |
|
Lines 156-161
Link Here
|
| 156 |
#include "canohost.h" |
156 |
#include "canohost.h" |
| 157 |
#include "auth.h" |
157 |
#include "auth.h" |
| 158 |
#include "buffer.h" |
158 |
#include "buffer.h" |
|
|
159 |
#include "servconf.h" |
| 159 |
#ifdef HAVE_UTIL_H |
160 |
#ifdef HAVE_UTIL_H |
| 160 |
# include <util.h> |
161 |
# include <util.h> |
|
Lines 194-199
Link Here
|
| 194 |
int wtmpx_get_entry(struct logininfo *li); |
195 |
int wtmpx_get_entry(struct logininfo *li); |
| 195 |
extern Buffer loginmsg; |
196 |
extern Buffer loginmsg; |
|
|
197 |
extern ServerOptions options; |
| 196 |
/* pick the shortest string */ |
198 |
/* pick the shortest string */ |
| 197 |
#define MIN_SIZEOF(s1,s2) (sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2)) |
199 |
#define MIN_SIZEOF(s1,s2) (sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2)) |
|
Lines 466-478
Link Here
|
| 466 |
utmp_write_entry(li); |
468 |
utmp_write_entry(li); |
| 467 |
# endif |
469 |
# endif |
| 468 |
# ifdef USE_WTMP |
470 |
# ifdef USE_WTMP |
| 469 |
wtmp_write_entry(li); |
471 |
#ifdef __hpux |
|
|
472 |
if(!options.use_login) |
| 473 |
#endif |
| 474 |
wtmp_write_entry(li); |
| 470 |
# endif |
475 |
# endif |
| 471 |
# ifdef USE_UTMPX |
476 |
# ifdef USE_UTMPX |
| 472 |
utmpx_write_entry(li); |
477 |
utmpx_write_entry(li); |
| 473 |
# endif |
478 |
# endif |
| 474 |
# ifdef USE_WTMPX |
479 |
# ifdef USE_WTMPX |
| 475 |
wtmpx_write_entry(li); |
480 |
#ifdef __hpux |
|
|
481 |
if(!options.use_login) |
| 482 |
#endif |
| 483 |
wtmpx_write_entry(li); |
| 476 |
# endif |
484 |
# endif |
| 477 |
return (0); |
485 |
return (0); |
| 478 |
} |
486 |
} |