🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Ladwig Fri, 06 Nov 1992 17:52
Finger 1.3.7 bugfix/enhancement in .free and INFO_IS_DEFAULT
#1036
Author: John Ladwig
Date: Fri, 06 Nov 1992 17:52
67 lines
2213 bytes
Yowie zowie - GNU finger is really nice..

One minor quibble:

The ".free" special user is broken when this macro is defined.

The test for 'wide' finger occurs *before* the test for the .free

Here's the particulars:

       * The GNU Finger version and where you obtained the distribution.

    1.3.7 - from a mirror of prep.ai.mit.edu

       * Changes you made to the GNU Finger configuration files.

    #define INFO_IS_DEFAULT /* */

       * Any changes you have made to the source code or installation
	 procedures.

Here is a patch to fix:

*** 1.0	1992/11/06 17:30:14
--- in.fingerd.c	1992/11/06 17:37:23
***************
*** 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 ----
***************
*** 609,614 ****
--- 600,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);

-- 
	     UMN Department of Soil Science; St. Paul, MN

Internet: john.ladwig@soils.umn.edu             Fidonet: John Ladwig 1:282/8
          jladwig@torpedo.forestry.umn.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