Changeset: 2646b6bf07b9 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2646b6bf07b9 Modified Files: gdk/gdk_posix.c monetdb5/mal/mal_linker.c Branch: cmake-monetdblite Log Message:
Please use mdlopen properly. diffs (25 lines): diff --git a/gdk/gdk_posix.c b/gdk/gdk_posix.c --- a/gdk/gdk_posix.c +++ b/gdk/gdk_posix.c @@ -648,8 +648,7 @@ MT_path_absolute(const char *pathname) void * mdlopen(const char *library, int mode) { - (void) library; - return dlopen(NULL, mode); + return dlopen(library, mode); } #else /* WIN32 native */ diff --git a/monetdb5/mal/mal_linker.c b/monetdb5/mal/mal_linker.c --- a/monetdb5/mal/mal_linker.c +++ b/monetdb5/mal/mal_linker.c @@ -120,7 +120,7 @@ getAddress(str fcnname) * * the first argument must be the same as the base name of the * library that is created in src/tools */ - dl = mdlopen(monetdb5library, RTLD_NOW + dl = mdlopen(monetdb_lib_path ? monetdb_lib_path : NULL, RTLD_NOW #ifdef HAVE_EMBEDDED | RTLD_LOCAL); #else _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list