Article View: alt.sources.d
Article #1773Re: SysV versions of finger and last, with lastlog.
From: Greg A. Woods
Date: Wed, 03 Jan 1990 12:45
Date: Wed, 03 Jan 1990 12:45
20 lines
1466 bytes
1466 bytes
In article <300@hhb.UUCP> istvan@hhb.UUCP (Istvan Mohos) writes:
> Speaking of ANSI, cpp barfed on '#ident'. (Is '#ident' ANSI?) Had to
> comment it out to compile.
Hmm... I thought I'd been quite careful about the '#ident's. They
should only be seen if you have SYSVR3 defined. It was with SysVr3.0
(as far as I can tell) that AT&T introduced the '#ident' pragma for
entring .comment sections in the assembler output. There is no other
need to define SYSVR3 in the finger.c I posted.
As for buffers and such, I didn't do too much cleanup. There are
still a lot of "magic numbers" scattered about, some of which place
restrictions on data, others which define data, etc. It's not dumped
on me yet :-), though I'll change those buffer declarations which deal
with user data as you've suggested.
--
Greg A. Woods
woods@{robohack,gate,tmsoft,ontmoh,utgpu,gpu.utcs.Toronto.EDU,utorgpu.BITNET}
+1 416 443-1734 [h] +1 416 595-5425 [w] VE3-TCP Toronto, Ontario; CANADA
Technical Details
Message-ID:
<1990Jan3.124530.10441@robohack.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!telly!robohack!woodsReferences:
<300@hhb.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!telly!robohack!woods From: woods@robohack.UUCP (Greg A. Woods) Newsgroups: alt.sources.d Subject: Re: SysV versions of finger and last, with lastlog. Summary: WARNING: finger dumps core on large fields.... Keywords: A bug is a bug is a bug... Message-ID: <1990Jan3.124530.10441@robohack.UUCP> Date: 3 Jan 90 12:45:30 GMT References: <300@hhb.UUCP> Organization: R. H. Lathwell Associates: Elegant Communications, Inc. Lines: 20