aboutsummaryrefslogtreecommitdiff
path: root/src/interp/lisplib.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/lisplib.boot')
-rw-r--r--src/interp/lisplib.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/lisplib.boot b/src/interp/lisplib.boot
index 52c73045..5c5f50df 100644
--- a/src/interp/lisplib.boot
+++ b/src/interp/lisplib.boot
@@ -157,7 +157,7 @@ loadLib cname ==
kind := GETDATABASE(cname,'CONSTRUCTORKIND)
if $printLoadMsgs then
sayKeyedMsg("S2IL0002",[namestring fullLibName,kind,cname])
- LOAD(fullLibName)
+ loadModule(fullLibName,cname)
clearConstructorCache cname
updateDatabase(cname,cname,systemdir?)
installConstructor(cname,kind)
@@ -183,7 +183,7 @@ loadLibNoUpdate(cname, libName, fullLibName) ==
kind := GETDATABASE(cname,'CONSTRUCTORKIND)
if $printLoadMsgs then
sayKeyedMsg("S2IL0002",[namestring fullLibName,kind,cname])
- if CATCH('VERSIONCHECK,LOAD(fullLibName)) = -1
+ if CATCH('VERSIONCHECK,loadModule(fullLibName,cname)) = -1
then
PRINC('" wrong library version...recompile ")
PRINC(fullLibName)