home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0043 < prev    next >
Encoding:
Text File  |  1981-12-03  |  1.1 KB  |  35 lines

  1. Aittvax.150
  2. net.v7-bugs,net.4bsd-bugs
  3. utzoo!decvax!ittvax!swatt
  4. Wed Dec  2 12:03:34 1981
  5. fix to fix to uucp bug
  6.  
  7. This is a correction to ittvax.149, which reported a fix to UUCP. I
  8. confess Art Feather was the one who made the patch and tested it; I
  9. reported the bug and the fix without having recompiled and tested (for
  10. shame, for shame).  As a result, an editing error leaving in an extra
  11. ')' in my copy of the change never got caught.
  12.  
  13. I won't go through the executable patch procedure again but in
  14. anlwrk.c, on or around line 67 which in the distribution reads:
  15.  
  16.      if (listp == NULL || *listp == NULL || listp > (list + LLEN)
  17.  
  18. should read:
  19.  
  20.      if (listp == NULL || listp >= &list[LLEN] || *listp == NULL
  21.  
  22. instead of:
  23.  
  24.      if (listp == NULL || *listp == NULL || listp >= &list[LLEN])
  25.  
  26. as the earlier news article stated.
  27.  
  28. Thanks to duke!trt who suggested the evaluation order change and
  29. wolfvax!root who pointed out the parenthesis error.  The present
  30. evaluation order is ``safe'' but certainly not clear thinking.
  31.  
  32. Sorry for the earlier bum steer.
  33.  
  34.     - Alan S. Watt (decvax!ittvax!swatt)
  35.