Article View: alt.sources.d
Article #1772SysV versions of finger and last, with lastlog.
From: Istvan Mohos
Date: Tue, 02 Jan 1990 14:26
Date: Tue, 02 Jan 1990 14:26
19 lines
1134 bytes
1134 bytes
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
====================================================================
Technical Details
Message-ID:
<300@hhb.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!pyrdc!pyrnj!hhb!istvanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!pyrdc!pyrnj!hhb!istvan From: istvan@hhb.UUCP (Istvan Mohos) Newsgroups: alt.sources.d Subject: SysV versions of finger and last, with lastlog. Keywords: A bug is a bug is a bug... Message-ID: <300@hhb.UUCP> Date: 2 Jan 90 14:26:33 GMT Organization: HHB Systems, Mawah, NJ Lines: 19