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

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

comp.sources.misc: Volume 3, Issue 10
Submitted-By: "Wietse Venema" <wswietse@eutrc3.UUCP>
Archive-Name: pcmail/Patch1

This patch takes care of a potential bug. It will never show up if
your C compiler/linker follows the UNIX tradition of putting null
bytes at data address zero (e.g. 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.