[hackers] [scc] [cc1] Fix unlinkhash() || Roberto E. Vargas Caballero
commit f5dfae1b97d7ec07b2db1f30576d6b9fe93abdb7
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Dec 22 16:02:33 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Dec 22 16:02:33 2016 +0100
[cc1] Fix unlinkhash()
This function must unlink using the hash pointer and no the next
pointer, because they are very diffrent things.
diff --git a/cc1/symbol.c b/cc1/symbol.c
index 9374874..400c4c5 100644
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
_AT_@ -67,7 +67,7 @@ unlinkhash(Symbol *sym)
if ((sym->flags & SDECLARED) == 0)
return;
h = hash(sym->name, sym->ns);
- *h = sym->next;
+ *h = sym->hash;
}
void
Received on Thu Dec 22 2016 - 16:08:43 CET
This archive was generated by hypermail 2.3.0
: Thu Dec 22 2016 - 16:12:24 CET