Work around unintentional retention of modules by the GC.
authorLudovic Courtès <ludo@gnu.org>
Wed, 5 Nov 2008 17:50:23 +0000 (18:50 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 5 Nov 2008 21:39:31 +0000 (22:39 +0100)
commit490cf75094167556289716c49ad43ad827f1d0dc
treec7bb965898650d06f390470f13b9b5572bb90107
parent00b8057d1f73c71b8784c38ae54e38a479fbafbd
Work around unintentional retention of modules by the GC.

This reverts par of "Document the failure of `gc.test' wrt. unused modules."
(commit 328efeb9a66dddcf78a24fad96d3db58e9c3375d.)

* ice-9/boot-9.scm (set-module-eval-closure!): Don't set the `module' property
  on CLOSURE.

* libguile/modules.c (scm_lookup_closure_module): Call `abort ()' to make it
  clear that code that uses the `module' property no longer works.  That code
  is unused anyway.
ice-9/boot-9.scm
libguile/modules.c
test-suite/tests/gc.test