lastlog with hp-ux 10.20
J.S.Peatfield at damtp.cam.ac.uk
J.S.Peatfield at damtp.cam.ac.uk
Tue Sep 18 11:50:14 EST 2001
I've not tried anything more recent that 2.9p1 on hp-ux 10.20 but on that the
only problem I had was with the HP cc needed a minor change to the code in
openbsd-compat/strmode.c (it barfed on a non-ansi definition):
*** openbsd-compat/strmode.c.orig Wed Mar 14 23:23:41 2001
--- openbsd-compat/strmode.c Wed Mar 14 23:24:36 2001
***************
*** 42,51 ****
#include <sys/stat.h>
#include <string.h>
! void
! strmode(mode, p)
! register mode_t mode;
! register char *p;
{
/* print type */
switch (mode & S_IFMT) {
--- 42,48 ----
#include <sys/stat.h>
#include <string.h>
! void strmode( register mode_t mode, register char *p)
{
/* print type */
switch (mode & S_IFMT) {
of course loginrec.c may have changed since then...
More information about the openssh-unix-dev
mailing list