home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / utils / bug / 1995 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.1 KB  |  81 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!soils.umn.EDU!jladwig
  3. From: jladwig@soils.umn.EDU (John Ladwig)
  4. Subject: Finger 1.3.7 bugfix/enhancement in .free and INFO_IS_DEFAULT
  5. Message-ID: <9211061752.AA21814@saturn>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 6 Nov 1992 17:52:24 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 68
  12.  
  13. Yowie zowie - GNU finger is really nice..
  14.  
  15. One minor quibble:
  16.  
  17. The ".free" special user is broken when this macro is defined.
  18.  
  19. The test for 'wide' finger occurs *before* the test for the .free
  20.  
  21. Here's the particulars:
  22.  
  23.        * The GNU Finger version and where you obtained the distribution.
  24.  
  25.     1.3.7 - from a mirror of prep.ai.mit.edu
  26.  
  27.        * Changes you made to the GNU Finger configuration files.
  28.  
  29.     #define INFO_IS_DEFAULT /* */
  30.  
  31.        * Any changes you have made to the source code or installation
  32.      procedures.
  33.  
  34. Here is a patch to fix:
  35.  
  36. *** 1.0    1992/11/06 17:30:14
  37. --- in.fingerd.c    1992/11/06 17:37:23
  38. ***************
  39. *** 445,459 ****
  40.         return;
  41.       }
  42.   
  43. -   /* Is this a `wide' (long) finger? */
  44. -   if (is_long_finger && user)
  45. -     {
  46. -       if (!long_finger (user, stream, 0))
  47. -     no_such_user (user, this_host, stream);
  48. -       return;
  49. -     }
  50.     /* If the user wants to know about free machines then look the information
  51.        up in the database kept on the availability of hosts.  Print statistics
  52.        that seem strange, like if the file of host information hasn't been
  53. --- 445,450 ----
  54. ***************
  55. *** 609,614 ****
  56. --- 600,614 ----
  57.       return;
  58.         }
  59.     
  60. +   /* Is this a `wide' (long) finger? */
  61. +   if (is_long_finger && user)
  62. +     {
  63. +       if (!long_finger (user, stream, 0))
  64. +     no_such_user (user, this_host, stream);
  65. +       return;
  66. +     }
  67.     warn_if_not_recent (HOSTDATA, stream);
  68.   
  69.     f = open (HOSTDATA, O_RDONLY, 0666);
  70.  
  71. -- 
  72.          UMN Department of Soil Science; St. Paul, MN
  73.  
  74. Internet: john.ladwig@soils.umn.edu             Fidonet: John Ladwig 1:282/8
  75.           jladwig@torpedo.forestry.umn.edu       
  76.  
  77.