[gambit-list] loading modules multiple times

Adam Langley alangley at gmail.com
Mon Aug 8 13:42:16 EDT 2005


Currently, trying to (load x) twice results in an error. This is a
problem when A and B each load C and a fourth file tries to load A and
B. It's also a problem when using (include x) to debug a file which
loads another.

So I would suggest the load should be a no-op in the case that the
file has already been loaded.

I would submit a patch, but doing the obvious to
setup.c:___os_load_object_file doesn't seem to work.


AGL

-- 
Adam Langley                                      agl at imperialviolet.org
http://www.imperialviolet.org                       (+44) (0)7906 332512
PGP: 9113   256A   CC0F   71A6   4C84   5087   CDA5   52DF   2CB6   3D60



More information about the Gambit-list mailing list