boetsch@infovax.informatik.tu-muenchen.dbp.de ("Ernst N. Boetsch ") (01/13/89)
Dear Sir,
I found a bug in "GNU Make version 3.13":
If the user does not specify a makefile with the
option '-f' and goal targets then GNU Make does
not find a default goal target and stops with the
error message "no goal target".
This behavior results from a bug in "read.c". There the
function "read_makefile" has a variable number of arguments
(see also the fix).
Yours sincerely
Ernst Boetsch
------------------------------------------------------------------------
*** read.c Thu Jan 5 16:16:28 1989
--- read.c.orig Wed Jan 4 11:33:07 1989
***************
*** 142,148
++p;
if (*p != 0)
! read_makefile (*p, 0);
else
/* No default makefile was found. Add the default makefiles to the
`read_makefiles' chain so they will be updated if possible. */
--- 142,148 -----
++p;
if (*p != 0)
! read_makefile (*p);
else
/* No default makefile was found. Add the default makefiles to the
`read_makefiles' chain so they will be updated if possible. */
------------------------------------------------------------------------
Ernst N. Boetsch Inst. fuer Informatik, Technische Universitaet Muenchen
Postfach 20 24 20, 8000 Muenchen 2, West Germany
boetsch@infovax.informatik.tu-muenchen.dbp.de Tel: +49 89 2105 2385
boetsch%infovax.informatik.tu-muenchen.dbp.de @ {relay.cs.net, unido.uucp}