search for: lastlog_is_dir

Displaying 3 results from an estimated 3 matches for "lastlog_is_dir".

2000 Jan 23
0
login.c: #ifdef wrong?
...ay name (for the dirmode filename) to lbuf, as buf shadows the function parameter of the same name. Patch follows. Ta, -Andre --- openssh-1.2.1pre27/login.c Fri Jan 14 04:45:50 2000 +++ openssh-1.2.1pre27.ll/login.c Sun Jan 23 00:09:19 2000 @@ -58,20 +58,20 @@ char *lastlog; int fd; #ifdef LASTLOG_IS_DIR - char buf[1024]; + char lbuf[1024]; #endif /* LASTLOG_IS_DIR */ lastlog = _PATH_LASTLOG; buf[0] = '\0'; -#ifdef LASTLOG_IS_DIR +#ifndef LASTLOG_IS_DIR fd = open(lastlog, O_RDONLY); if (fd < 0) return 0; lseek(fd, (off_t) ((long) uid * sizeof(ll)), SEEK_SET); #else /*...
1999 Nov 19
1
[solaris 7 patch] resubmit and extended ...
Okay, everything as the first large one I sent today, with a few extra mods. _PATH_MAILDIR is only used in sshd.c, that I can see, so moved the #ifdef from config.h.in to there. several files had __progname defined in the middle of the code, as well as at the top of the code, so cleaned those out. all the fixes for u_int32_t -> uint32_t and u_int16_t -> uint16_t, plus added appropriate
1999 Dec 21
0
Problem with UTMP recording
...utoheader. */ /* Define as __inline if that's what the C compiler calls it. */ /* #undef inline */ /* SSL directory. */ #define ssldir "/usr/local/ssl" /* Location of lastlog file */ #define LASTLOG_LOCATION "/var/log/lastlog" /* If lastlog is a directory */ /* #undef LASTLOG_IS_DIR */ /* Location of random number pool */ #define RANDOM_POOL "/dev/urandom" /* Are we using the Entropy gathering daemon */ /* #undef HAVE_EGD */ /* Define if your ssl headers are included with #include <ssl/header.h> */ /* #undef HAVE_SSL */ /* Define if your ssl headers are i...