Thread View: gnu.utils.bug
1 messages
1 total messages
Started by John Eaton
Thu, 29 Oct 1992 02:24
GNU finger-1.37 `finger .free' with INFO_IS_DEFAULT
Author: John Eaton
Date: Thu, 29 Oct 1992 02:24
Date: Thu, 29 Oct 1992 02:24
58 lines
2096 bytes
2096 bytes
If finger-1.37 is compiled with INFO_IS_DEFAULT, `finger .free'
reports that there is no such user .free. Here is a patch taht fixes
that by moving the test for (is_long_finger && user) after the check
for .free.
diff -rc finger-1.37.orig//src/in.fingerd.c finger-1.37/src/in.fingerd.c
*** finger-1.37.orig//src/in.fingerd.c Mon Oct 26 21:14:19 1992
--- finger-1.37/src/in.fingerd.c Wed Oct 28 19:41:35 1992
***************
*** 445,459 ****
return;
}
- /* Is this a `wide' (long) finger? */
- if (is_long_finger && user)
- {
- if (!long_finger (user, stream, 0))
- no_such_user (user, this_host, stream);
-
- return;
- }
-
/* If the user wants to know about free machines then look the information
up in the database kept on the availability of hosts. Print statistics
that seem strange, like if the file of host information hasn't been
--- 445,450 ----
***************
*** 607,614 ****
}
return;
! }
warn_if_not_recent (HOSTDATA, stream);
f = open (HOSTDATA, O_RDONLY, 0666);
--- 598,614 ----
}
return;
! }
+ /* Is this a `wide' (long) finger? */
+ if (is_long_finger && user)
+ {
+ if (!long_finger (user, stream, 0))
+ no_such_user (user, this_host, stream);
+
+ return;
+ }
+
warn_if_not_recent (HOSTDATA, stream);
f = open (HOSTDATA, O_RDONLY, 0666);
--
DEC Fortran brings VAX FORTRAN quality to RISC | John W. Eaton
ULTRIX and DEC OSF/1. -- DEC catalog (1992). | jwe@che.utexas.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