[comp.sources.bugs] uucp mail for pc's: minor patch

wswietse@eutrc3.UUCP (Wietse Venema) (04/27/88)

This is a minor patch that takes care of a potential bug.  It will
never show up with C compilers/linkers that follow the UNIX tradition
of putting null bytes at data address zero (such as Microsoft).

*** scanwork.c.orig	Sat Apr 23 13:14:17 1988
--- scanwork.c	Tue Apr 26 18:54:09 1988
***************
*** 81,85 ****
  	}
      }
      closedir(dd);
!     return(*p ? &wrk : NULL);
  }
--- 81,85 ----
  	}
      }
      closedir(dd);
!     return(p ? &wrk : NULL);
  }

-- 
uucp:	mcvax!eutrc3!wswietse	| Eindhoven University of Technology
bitnet:	wswietse@heithe5	| Dept. of Mathematics and Computer Science
surf:	tuerc5::wswietse	| Eindhoven, The Netherlands.