diff options
author | Dmitry Goncharov <dgoncharov@users.sf.net> | 2022-09-25 17:09:08 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-09-25 17:09:08 -0400 |
commit | 6c87f3fb85311eb845ce437b1d31e8b7443a9233 (patch) | |
tree | 0db6220b2f3d91485374e837956d8c89a912c875 /src/read.c | |
parent | 38116baee96bdb4ad8feb3134b64098997adff8e (diff) | |
download | make-git-6c87f3fb85311eb845ce437b1d31e8b7443a9233.tar.gz |
[SV 63100] Set the floc of every created goal dep struct
* src/read.c (eval): Initialize the goaldep floc pointer.
* tests/scripts/features/loadapi: Verify that the floc is set after
unloading and reloading dynamic objects.
Diffstat (limited to 'src/read.c')
-rw-r--r-- | src/read.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -984,6 +984,7 @@ eval (struct ebuffer *ebuf, int set_default) /* Otherwise add it to the list to be rebuilt. */ deps = alloc_goaldep (); deps->next = read_files; + deps->floc = ebuf->floc; read_files = deps; deps->file = f; } |