Neil Jerram <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Ludovic Courtès) writes: > >> --- orig/libguile/properties.c >> +++ mod/libguile/properties.c >> @@ -125,6 +125,7 @@ >> scm_init_properties () >> { >> scm_properties_whash = scm_make_weak_key_hash_table (SCM_UNDEFINED); >> + scm_properties_whash = scm_permanent_object (scm_properties_whash); >> #include "libguile/properties.x" >> } > > What is the symptom of the fact that we are currently missing this > line?
You mean: does it actually yield a fault at run-time? Well, it doesn't /seem/ to (i.e., I haven't identified any reproducible "bug" caused by this), but I think it /could/. ;-) All other such global variables are, understandably, explicitly made non-collectable. For instance, in `srcprop.c', SCM_SOURCE_WHASH is non-collectable because it is bound to a top-level binding. In `symbols.c', the SYMBOLS weak hash table is made permanent via a call to `scm_permanent_object ()'. Thanks, Ludovic. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel