From: Roland McGrath Date: Wed, 1 Apr 1992 09:42:11 +0000 (+0000) Subject: Formerly read.c.~27~ X-Git-Tag: 3.70.2~827 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7ec3f0576b97d4d93a7487fb1c43be2768f3280;p=thirdparty%2Fmake.git Formerly read.c.~27~ --- diff --git a/read.c b/read.c index 902bee61..ae7358a1 100644 --- a/read.c +++ b/read.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc. +/* Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc. This file is part of GNU Make. GNU Make is free software; you can redistribute it and/or modify @@ -127,7 +127,11 @@ read_all_makefiles (makefiles) MAKEFILES is updated for finding remaining tokens. */ p = value; while ((name = find_next_token (&p, &length)) != 0) - read_makefile (name, 1); + { + if (*p != '\0') + *p++ = '\0'; + read_makefile (name, 1); + } free (value); }