Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!necntc!ncoast!allbery From: wswietse@eutrc3.UUCP (Wietse Venema) Newsgroups: comp.sources.misc Subject: v03i010: uucp mail for pc's: minor patch Message-ID: <224@eutrc3.UUCP> Date: 26 Apr 88 21:35:09 GMT Sender: allbery@ncoast.UUCP Reply-To: wswietse@eutrc3.UUCP (Wietse Venema) Organization: Tech. Univ. Eindhoven, Neth. Lines: 27 Approved: allbery@ncoast.UUCP comp.sources.misc: Volume 3, Issue 10 Submitted-By: "Wietse Venema" 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.