From 1df9b19429212012b245a88b08ab37caef564d1c Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sun, 24 Jan 2010 10:26:24 +1000 Subject: Implement some new features Implement 'lreplace' Implement 'string last' Implement 'pid' Implement 'info procs' Implement 'info script' Implement 'info patchlevel' as an alias for 'info version' Implement syslog extensions for jim Fix return code display in jim-interactive.c Make jim more compatible if JIM_TCL_COMPAT is set *: Use tcl_interactive rather than jim_interactive *: Use auto_path rather than jim_libpath Add "." to the lib search path, not "./" Fix a couple of files with CRLF line endings --- jim-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jim-load.c') diff --git a/jim-load.c b/jim-load.c index ebd6b63..9c46c1e 100644 --- a/jim-load.c +++ b/jim-load.c @@ -38,7 +38,7 @@ int Jim_LoadLibrary(Jim_Interp *interp, const char *pathName) void *handle; int (*onload)(Jim_Interp *interp); - libPathObjPtr = Jim_GetGlobalVariableStr(interp, "jim_libpath", JIM_NONE); + libPathObjPtr = Jim_GetGlobalVariableStr(interp, JIM_LIBPATH, JIM_NONE); if (libPathObjPtr == NULL) { prefixc = 0; libPathObjPtr = NULL; -- cgit v1.1