🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #929

Re: finger-1.36 minor bug on hpxu-id

#929
From: Robert K Shull
Date: Wed, 14 Oct 1992 19:56
25 lines
1480 bytes
neal@ctd.COMsat.COM (Neal Becker) writes:

>Thanks for finger-1.36!  Installation was a lot easier than 1.35.  One
>minor problem:

>On hpux 8.07 finger shows entries for terminal "co" (console, I guess)
>which all show idle time of 24 years!  Anyone know why?

The client end converts the two times it keeps to network order, but
the server doesn't convert them back.
The following patch to fingerd.c appears to work ok.
	Robert

===================================================================
RCS file: RCS/fingerd.c,v
retrieving revision 1.1
diff -r1.1 fingerd.c
670a671,672
>         packets[i]->login_time = ntohl (packets[i]->login_time);
>         packets[i]->idle_time = ntohl (packets[i]->idle_time);

-- 
Robert K. Shull, Sr. Applications Programmer, Engineering Computer Network
rob@mailhost.ecn.uoknor.edu
Disclaimer: OU can't afford opinions, so these must be mine.
Technical Details
Message-ID: <1992Oct14.195653.12195@constellation.ecn.uoknor.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!essex.ecn.uoknor.edu!rob
References: <NEAL.92Oct13093319@neal.ctd.comsat.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!essex.ecn.uoknor.edu!rob
From: rob@essex.ecn.uoknor.edu (Robert K Shull)
Subject: Re: finger-1.36 minor bug on hpxu-id
Message-ID: <1992Oct14.195653.12195@constellation.ecn.uoknor.edu>
Sender: gnulists@ai.mit.edu
Organization: Engineering Computer Network, University of Oklahoma, Norman, OK, USA
References: <NEAL.92Oct13093319@neal.ctd.comsat.com>
Distribution: gnu
Date: Wed, 14 Oct 1992 19:56:53 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 27