v03i010: uucp mail for pc's: minor patch

Wietse Venema wswietse at eutrc3.UUCP
Wed Apr 27 07:35:09 AEST 1988


comp.sources.misc: Volume 3, Issue 10
Submitted-By: "Wietse Venema" <wswietse at 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 at heithe5	| Dept. of Mathematics and Computer Science
surf:	tuerc5::wswietse	| Eindhoven, The Netherlands.



More information about the Comp.sources.misc mailing list