fix hash-set! in weak-value table from non-immediate to immediate
authorAndy Wingo <wingo@pobox.com>
Sun, 1 May 2011 16:01:42 +0000 (18:01 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 1 May 2011 16:01:42 +0000 (18:01 +0200)
commitecc9d1b547b21830f5ce4f1eaceb6b9dde44e5dc
tree143e2d4f604fb794560bacedd104a50c09167010
parentb735d33b2b636f457c8ca0740c99169e20b377b3
fix hash-set! in weak-value table from non-immediate to immediate

* libguile/hashtab.c (set_weak_cdr, scm_hash_fn_set_x): If we have a
  weak-value hash table with a previous non-immediate value for a given
  key, and we are setting an immediate as the new value, we were not
  unregistering the disappearing link.  Fixed.
libguile/hashtab.c