Article View: gnu.utils.bug
Article #915Re: finger-1.36 minor bug on hpux
From: Minh Tran-Le
Date: Wed, 14 Oct 1992 15:19
Date: Wed, 14 Oct 1992 15:19
33 lines
1631 bytes
1631 bytes
neal@ctd.COMsat.COM (Neal Becker) writes:
>On hpux 8.07 finger shows entries for terminal "co" (console, I guess)
>which all show idle time of 24 years! Anyone know why?
There a bug a in lib/os.c when it does not find a "console" location
in the file TTYLOC and try to use a hostname.
Here is a diff of my changes (the line numbers may not match exactly
because I had other changes for aix in that file):
Minh Tran-Le.
---------------------------------------------------------------------------
*** os.c- Thu Oct 1 11:56:57 1992
--- os.c Tue Oct 13 10:42:00 1992
***************
*** 604,610 ****
/* If console user, and there is no entry in the list for
`console', then try the local host. */
! if (!(hostname = xgethostname ()))
if (result = lookup_tty (hostname))
return (result);
#endif
--- 609,615 ----
/* If console user, and there is no entry in the list for
`console', then try the local host. */
! if (hostname = xgethostname ())
if (result = lookup_tty (hostname))
return (result);
#endif
Technical Details
Message-ID:
<mtranle.719075942@paris>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!icmv.UUCP!mtranle%parisReferences:
<9210130933.aa07832@louie.udel.edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!icmv.UUCP!mtranle%paris From: mtranle%paris@icmv.UUCP (Minh Tran-Le) Subject: Re: finger-1.36 minor bug on hpux Message-ID: <mtranle.719075942@paris> Sender: gnulists@ai.mit.edu Reply-To: icmv!tranle%caliph@uunet.uu.net Organization: IntelliCorp Inc. References: <9210130933.aa07832@louie.udel.edu> Distribution: gnu Date: Wed, 14 Oct 1992 15:19:02 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 34