commit | 865d90bb1e4500ad2147d85877fd496552fdbbf5 | [log] [tgz] |
---|---|---|
author | Paul Smith <psmith@gnu.org> | Sun Nov 24 04:03:19 2013 -0500 |
committer | Paul Smith <psmith@gnu.org> | Sun Nov 24 04:03:19 2013 -0500 |
tree | 2785351ff160b7f19640c6780c741309848ef5e0 | |
parent | 30b25acc4ece3755314402954f2cb9abce348c3e [diff] |
* load.c (load_file): Reset the name length minus the symbol.
diff --git a/load.c b/load.c index 63f2aaf..b937c9f 100644 --- a/load.c +++ b/load.c
@@ -152,6 +152,7 @@ memcpy (new, *ldname, l); new[l] = '\0'; *ldname = new; + nmlen = l; /* Make a copy of the symbol name part. */ symname = new + l + 1;