~ chicken-core (master) c534979f5418841780fb2959a41c81a011831abf
commit c534979f5418841780fb2959a41c81a011831abf
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Tue Sep 1 13:33:58 2026 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Tue Sep 1 13:33:58 2026 +0200
Pass symbol-table ptr instead of NULL on every iteration.
Reported by "crzcrz"
diff --git a/runtime.c b/runtime.c
index 66348a9d..e1a6e9aa 100644
--- a/runtime.c
+++ b/runtime.c
@@ -2531,7 +2531,7 @@ C_regparm C_word C_i_unpersist_symbol(C_word sym)
}
for(stp = symbol_table_list; stp != NULL; stp = stp->next) {
- bucket = lookup_bucket(sym, NULL);
+ bucket = lookup_bucket(sym, stp);
if (C_truep(bucket)) {
/* Turn it into a weak ref */
Trap