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: scm_sysintern vs scm_intern


Doug Evans <devans@cygnus.com> writes:


> scm_sysintern and it returns something different than the subsequent
> scm_intern call does.  [Maybe the two foo's end up in different modules.]


Thatīs a bug.  -- In fact the whole file symbols.c can be considered as 
a bug.  :)  

This will be fixed when the new module system is in place, in the mean time
you must first look up a symbol in weak_symhash and, if no one is found,
you can create a new symbol and intern it in weak_symhash. After that
you can copy it into your (the module`s) obarray .


Jost