diff dynload/dynload_unix.c @ 365:1d03a3a4220d

- fixing issue after having aliased gnu thiscalls to cdecl with a duped switch label
author Tassilo Philipp
date Tue, 14 Apr 2020 19:58:31 +0200
parents 2f64957d6a46
children ad5f9803f52f
line wrap: on
line diff
--- a/dynload/dynload_unix.c	Tue Apr 14 19:35:30 2020 +0200
+++ b/dynload/dynload_unix.c	Tue Apr 14 19:58:31 2020 +0200
@@ -105,6 +105,7 @@
 
 #include <link.h>
 
+/* @@@ if called from within a .so, passing NULL will return .so name, whereas passing result of dlLoadLibrary(NULL) returns process' name */
 int dlGetLibraryPath(DLLib* pLib, char* sOut, int bufSize)
 {
   struct link_map* p = NULL;