SysV versions of finger and last, with lastlog.
Greg A. Woods
woods at robohack.UUCP
Wed Jan 3 23:45:30 AEST 1990
In article <300 at hhb.UUCP> istvan at 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
More information about the Alt.sources.d
mailing list