This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Testing dangerous change in tomorrow's snapshot (was: Re: Guile segv)


Mikael Djurfeldt <mdj@nada.kth.se> writes:

> I think we should find the cause and fix sysintern rather than change
> the start module back to `(guile)'.

Yes.

> Jim or Marius, could you have a look into this?

Can't promise anything.  I don't think the issue is too complicated,
tho, because scm_make_gsubr works fine for compiled code modules via
scm_register_module_xxx.  Look at this:

Sat Jan 11 21:37:15 1997  Marius Vollmer  <mvo@zagadka.ping.de>

	* symbols.c (scm_sysintern): Renamed to
 	scm_sysintern_no_module_lookup.
	(scm_sysintern): New function to take the place of the old
 	scm_sysintern. It uses the current toplevel lookup closure to give
 	the symbol its value.  This is a temporary hack to put packages
 	like gtcltk into their own module.
        (scm_can_use_top_level_lookup_closure_var): New variable to tell
 	us whether `scm_top_level_lookup_closure_var' has been initialized
 	and is usable.
	* eval.c (scm_init_eval): Set it.