🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jan Brittenson Wed, 14 Oct 1992 19:33
Re: finger-1.36 minor bug on hpux
#928
Author: Jan Brittenson
Date: Wed, 14 Oct 1992 19:33
23 lines
1667 bytes
 >> On 13 Oct 92 14:33:19 GMT, neal@ctd.COMsat.COM (Neal Becker) said:

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

 > I had this problem on a number of tty's using Ultrix (not just console
 > ones).  It turned out to be in.cfingerd does the conversion htonl
 > before sending it but fingerd doesn't ntohl the value read in.  Adding
 > this in fixed the problem.

   No, no, no! This is utterly and completely wrong. No such thing
should be added to fingerd. Instead, the call to htonl() should be
removed from in.cfingerd. The poll protocol has changed from 1.35 --
the idle time is now passed in ASCII, as a decimal integer, no
conversion to or from network byte ordering should be done. I just
missed removing the call to htonl(); it didn't cause any problems at
FSF because all the machines I installed it on here happened to be
big-endian. This wart will be removed in the next release, along with
a few other (reasonably minor) bugs that crept in while I was making
major changes to the code.

						-- Jan Brittenson
						   bson@gnu.ai.mit.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads