mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-10-24 05:09:58 +00:00
Formerly read.c.~27~
This commit is contained in:
parent
008dab1b25
commit
a7ec3f0576
1 changed files with 6 additions and 2 deletions
8
read.c
8
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.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
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. */
|
MAKEFILES is updated for finding remaining tokens. */
|
||||||
p = value;
|
p = value;
|
||||||
while ((name = find_next_token (&p, &length)) != 0)
|
while ((name = find_next_token (&p, &length)) != 0)
|
||||||
read_makefile (name, 1);
|
{
|
||||||
|
if (*p != '\0')
|
||||||
|
*p++ = '\0';
|
||||||
|
read_makefile (name, 1);
|
||||||
|
}
|
||||||
|
|
||||||
free (value);
|
free (value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue