mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-11-25 04:35:44 +00:00
* load.c (load_file): Reset the name length minus the symbol.
This commit is contained in:
parent
30b25acc4e
commit
865d90bb1e
1 changed files with 1 additions and 0 deletions
1
load.c
1
load.c
|
@ -152,6 +152,7 @@ load_file (const gmk_floc *flocp, const char **ldname, int noerror)
|
|||
memcpy (new, *ldname, l);
|
||||
new[l] = '\0';
|
||||
*ldname = new;
|
||||
nmlen = l;
|
||||
|
||||
/* Make a copy of the symbol name part. */
|
||||
symname = new + l + 1;
|
||||
|
|
Loading…
Reference in a new issue