Check if we've already loaded a dynamic module under a different name.

This commit is contained in:
Sjoerd Mullender 1995-06-12 15:51:34 +00:00
parent 7d0bc8343f
commit fbe6d33ffd
3 changed files with 38 additions and 5 deletions

View file

@ -487,7 +487,7 @@ load_module(name)
break;
case C_EXTENSION:
m = load_dynamic_module(name, buf);
m = load_dynamic_module(name, buf, fp);
break;
#ifdef macintosh
@ -868,7 +868,7 @@ imp_load_dynamic(self, args)
object *dummy;
if (!newgetargs(args, "ss|O", &name, &pathname, &dummy))
return NULL;
return load_dynamic_module(name, pathname);
return load_dynamic_module(name, pathname, NULL);
}
static object *