From 865d90bb1e4500ad2147d85877fd496552fdbbf5 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 24 Nov 2013 04:03:19 -0500 Subject: [PATCH] * load.c (load_file): Reset the name length minus the symbol. --- load.c | 1 + 1 file changed, 1 insertion(+) diff --git a/load.c b/load.c index 63f2aafe..b937c9f0 100644 --- 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;