SysV versions of finger and last, with lastlog.

Istvan Mohos istvan at hhb.UUCP
Wed Jan 3 01:26:33 AEST 1990



Thank you very much, Greg A. Woods for posting the source; finally
I was able to figure out why our Ultrix V2.2-1 (source-less) 'finger'
kept dumping core.  One of the gecos fields in /etc/passwd was
    xxyyzzy_mail_only_account

changing 'char buffer[20]' to 'char buffer[BUFSIZ]' in matchcmp()
while certainly an overkill, eliminated the problem once and for all.
Wouldn't it be nice if everybody could agree on a max string size
like 'ANSISTR 512'?

Speaking of ANSI, cpp barfed on '#ident'.  (Is '#ident' ANSI?)  Had to
comment it out to compile.
-- 
        Istvan Mohos
        ...uunet!pyrdc!pyrnj!hhb!istvan
        HHB Systems 1000 Wyckoff Ave. Mahwah NJ 07430 201-848-8000
====================================================================



More information about the Alt.sources.d mailing list