[10600] in Athena Bugs
athena/athena.bin/finger/finger.c
daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Jun 25 13:08:06 1993
From: brlewis@Athena.MIT.EDU
Date: Fri, 25 Jun 93 13:08:02 -0400
To: rel-eng@Athena.MIT.EDU, bugs@Athena.MIT.EDU
*** /tmp/,RCSt1a18698 Fri Jun 25 13:07:00 1993
--- athena/athena.bin/finger/finger.c Fri Jun 11 11:30:48 1993
***************
*** 81,88 ****
#include <sys/signal.h>
#include <pwd.h>
#include <stdio.h>
! #if !defined(_AIX) || (AIXV < 20)
! /* AIX 3.1 does not have <lastlog.h> */
#include <lastlog.h>
#else
#define NO_LASTLOG
--- 81,88 ----
#include <sys/signal.h>
#include <pwd.h>
#include <stdio.h>
! #if (!defined(_AIX) || (AIXV < 20)) && !defined(hpux)
! /* AIX 3.1 does not have <lastlog.h>, nor does hpux */
#include <lastlog.h>
#else
#define NO_LASTLOG
***************
*** 279,285 ****
exit(2);
}
if (unquick) {
! #if defined(ultrix) || defined(_AIX) || defined(_AUX_SOURCE) || defined(SOLARIS)
setpwent();
#else
extern _pw_stayopen;
--- 279,285 ----
exit(2);
}
if (unquick) {
! #if defined(ultrix) || defined(_AIX) || defined(_AUX_SOURCE) || defined(SOLARIS) || defined(hpux)
setpwent();
#else
extern _pw_stayopen;
***************
*** 395,401 ****
if (unquick) {
setpwent();
if (!match) {
! #if !defined(ultrix) && !defined(_AIX) && !defined(SOLARIS) || defined(_AUX_SOURCE)
extern _pw_stayopen;
_pw_stayopen = 1;
--- 395,401 ----
if (unquick) {
setpwent();
if (!match) {
! #if !defined(hpux) && !defined(ultrix) && !defined(_AIX) && !defined(SOLARIS) || defined(_AUX_SOURCE)
extern _pw_stayopen;
_pw_stayopen = 1;