projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30b25ac
)
* load.c (load_file): Reset the name length minus the symbol.
author
Paul Smith
<psmith@gnu.org>
Sun, 24 Nov 2013 09:03:19 +0000
(
04:03
-0500)
committer
Paul Smith
<psmith@gnu.org>
Sun, 24 Nov 2013 09:03:19 +0000
(
04:03
-0500)
load.c
patch
|
blob
|
history
diff --git
a/load.c
b/load.c
index 63f2aafe667ea3a276a69b7def395d1fbfdab8fe..b937c9f05a86ed5b873c122cc8ecf4b0a0dcbb96 100644
(file)
--- a/
load.c
+++ b/
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;