From 638267683891b0e13ceaa9d3110aec0181ba3033 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 2 Jun 1993 21:42:39 +0000 Subject: [PATCH] Formerly read.c.~60~ --- read.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/read.c b/read.c index 6f0c2d45..98334983 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? */