diff options
| author | Paul Smith <psmith@gnu.org> | 2013-11-24 04:03:19 -0500 |
|---|---|---|
| committer | Paul Smith <psmith@gnu.org> | 2013-11-24 04:03:19 -0500 |
| commit | 865d90bb1e4500ad2147d85877fd496552fdbbf5 (patch) | |
| tree | 2785351ff160b7f19640c6780c741309848ef5e0 | |
| parent | 30b25acc4ece3755314402954f2cb9abce348c3e (diff) | |
| download | gunmake-865d90bb1e4500ad2147d85877fd496552fdbbf5.tar.gz | |
* load.c (load_file): Reset the name length minus the symbol.
| -rw-r--r-- | load.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |
