Path: utzoo!attcan!uunet!mcvax!tuvie!hpuviea!mah From: mah@hpuviea.UUCP (Michael Haberler) Newsgroups: comp.sources.bugs Subject: Re: v05i077: gnu diff for MSDOS Summary: fix for bug with free()'ing a string in use Keywords: diff gnu MSDOS Message-ID: <835@hpuviea.UUCP> Date: 13 Dec 88 09:11:23 GMT References: <13228@ncoast.UUCP> Organization: Hewlett-Packard Vienna,Austria Lines: 13 If you have a free() which overwrites malloc()'ed storage, like Microsoft C, then comment out the statement free(inf[dir_arg].name); around line 497 of file diff.c. Otherwise, if the second file argument to diff is a directory, the filename in a context diff gets mangled. -- Michael Haberler mah@hpuviea.uucp Hewlett-Packard Austria GmbH, ...mcvax!tuvie!hpuviea!mah Lieblgasse 1 ...hplabs!hpfcla!hpbbn!hpuviea!mah A-1220 Vienna, Austria Tel: (0043) (222) 2500 x412 (9-18 CET)