home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume3 / pcmail / patch1 < prev    next >
Encoding:
Internet Message Format  |  1989-02-03  |  1.1 KB

  1. Path: xanth!mcnc!gatech!ncar!ames!necntc!ncoast!allbery
  2. From: wswietse@eutrc3.UUCP (Wietse Venema)
  3. Newsgroups: comp.sources.misc
  4. Subject: v03i010: uucp mail for pc's: minor patch
  5. Message-ID: <224@eutrc3.UUCP>
  6. Date: 26 Apr 88 21:35:09 GMT
  7. Sender: allbery@ncoast.UUCP
  8. Reply-To: wswietse@eutrc3.UUCP (Wietse Venema)
  9. Organization: Tech. Univ. Eindhoven, Neth.
  10. Lines: 28
  11. Approved: allbery@ncoast.UUCP
  12.  
  13. comp.sources.misc: Volume 3, Issue 10
  14. Submitted-By: "Wietse Venema" <wswietse@eutrc3.UUCP>
  15. Archive-Name: pcmail/Patch1
  16.  
  17. This patch takes care of a potential bug. It will never show up if
  18. your C compiler/linker follows the UNIX tradition of putting null
  19. bytes at data address zero (e.g. Microsoft).
  20.  
  21. *** scanwork.c.orig    Sat Apr 23 13:14:17 1988
  22. --- scanwork.c    Tue Apr 26 18:54:09 1988
  23. ***************
  24. *** 81,85 ****
  25.       }
  26.       }
  27.       closedir(dd);
  28. !     return(*p ? &wrk : NULL);
  29.   }
  30. --- 81,85 ----
  31.       }
  32.       }
  33.       closedir(dd);
  34. !     return(p ? &wrk : NULL);
  35.   }
  36.  
  37. -- 
  38. uucp:    mcvax!eutrc3!wswietse    | Eindhoven University of Technology
  39. bitnet:    wswietse@heithe5    | Dept. of Mathematics and Computer Science
  40. surf:    tuerc5::wswietse    | Eindhoven, The Netherlands.
  41.