From: Roland McGrath Date: Wed, 2 Jun 1993 21:42:39 +0000 (+0000) Subject: Formerly read.c.~60~ X-Git-Tag: 3.70.2~253 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=638267683891b0e13ceaa9d3110aec0181ba3033;p=platform%2Fupstream%2Fmake.git Formerly read.c.~60~ --- diff --git a/read.c b/read.c index 6f0c2d4..9833498 100644 --- a/read.c +++ b/read.c @@ -155,7 +155,6 @@ read_all_makefiles (makefiles) d = d->next; /* Use the storage read_makefile allocates. */ - free (*makefiles); *makefiles = dep_name (d); ++num_makefiles; ++makefiles; @@ -613,9 +612,9 @@ read_makefile (filename, type) } filenames = multi_glob (parse_file_seq (&p2, ':', - sizeof (struct nameseq)), - sizeof (struct nameseq), - 1); + sizeof (struct nameseq), + 1), + sizeof (struct nameseq)); if (*p2++ == '\0') makefile_fatal (filename, lineno, "missing separator"); /* Is this a one-colon or two-colon entry? */