Thread View: gnu.utils.bug
2 messages
2 total messages
Started by Neal Becker
Tue, 13 Oct 1992 14:33
finger-1.36 minor bug on hpxu-id
Author: Neal Becker
Date: Tue, 13 Oct 1992 14:33
Date: Tue, 13 Oct 1992 14:33
26 lines
1644 bytes
1644 bytes
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? Another minor install problem. make server or make client insists on recompiling things. This can cause nasty root NFS access problems, if your source directory is NFS mounted, since installation may require root privlege. It would be nicer to use a more traditional approach, so that make would build all sources, and make server would only install without modifying the source directory. BTW - everyone knows -lPW causes problems with HPUX (/lib/libPW.a contains definitions of some stuff you don't want along with alloca). Some gnu installs suggest extracting alloca and making a /usr/local/lib/liballoca.a. I have been using this approach. Unfortunately, gnu configure doesn't know about this. I suggest that configure should look for liballoca.a first, then libPW.a. The alternative approach (used by finger-1.36) is: ld ... -lPW -lc -lPW Unfortunately, my experience is that this is not only silly, it also doesn't always work. I vote for supporting liballoca instead.
Re: finger-1.36 minor bug on hpxu-id
Author: Robert K Shull
Date: Wed, 14 Oct 1992 19:56
Date: Wed, 14 Oct 1992 19:56
25 lines
1480 bytes
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.
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