home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / mh / 1465 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.1 KB  |  42 lines

  1. Newsgroups: comp.mail.mh
  2. Path: sparky!uunet!uunet.ca!xenitec!golem!davidf
  3. From: davidf@golem.waterloo.on.ca (David J. Fiander)
  4. Subject: A problem with ali in MH 6.8
  5. Date: Thu, 07 Jan 1993 00:29:22 GMT
  6. Message-ID: <1993Jan07.002922.3481@golem.waterloo.on.ca>
  7. Lines: 33
  8.  
  9. I'm sure I reported this problem against MH 6.7, because I have
  10. it fixed in my source, but it has reappeared in 6.8.
  11.  
  12. ali searches personal and system-wide alias tables in the
  13. opposite order from whom and send.  whom and send search
  14. personal tables first, and the system table later, but ali
  15. search the system table first.  The following patch to ali.c
  16. ensures that all three programs use the same search order.
  17.  
  18. - David
  19.  
  20. *** /tmp/t1075B.aaa Wed Jan  6 19:24:55 1993
  21. --- ali.c Tue Jan  5 09:08:26 1993
  22. ***************
  23. *** 137,143 ****
  24.       }
  25.   
  26.       if (!noalias) {
  27. -     (void) alias (AliasFile);
  28.       if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */
  29.           char *dp = NULL;
  30.   
  31. --- 137,142 ----
  32. ***************
  33. *** 148,153 ****
  34. --- 147,153 ----
  35.           if (dp)
  36.           free(dp);
  37.       }
  38. +     (void) alias (AliasFile);
  39.       }
  40.       
  41.   
  42.