diff dynload/dynload_unix.c @ 552:61c485f8cc06

cosmetics & c-comments for consistency
author Tassilo Philipp
date Mon, 20 Jun 2022 15:11:52 +0200
parents e221473a8217
children 6a8aac9b2bcf
line wrap: on
line diff
--- a/dynload/dynload_unix.c	Mon Jun 20 14:57:49 2022 +0200
+++ b/dynload/dynload_unix.c	Mon Jun 20 15:11:52 2022 +0200
@@ -53,7 +53,7 @@
 
 DLLib* dlLoadLibrary(const char* libPath)
 {
-  return (DLLib*)dlopen(libPath, RTLD_NOW|RTLD_GLOBAL); //@@@ should use RTLD_LAZY, maybe?
+  return (DLLib*)dlopen(libPath, RTLD_NOW|RTLD_GLOBAL); /*@@@ should use RTLD_LAZY, maybe?*/
 }
 
 
@@ -129,7 +129,7 @@
 
   /* request info about own process? lookup first loaded image */
   if(pLib == NULL) {
-    const char* libPath = _dyld_get_image_name(0); //@@@ consider using _NSGetExecutablePath()
+    const char* libPath = _dyld_get_image_name(0); /*@@@ consider using _NSGetExecutablePath()*/
     if(libPath)
       l = dl_strlen_strcpy(sOut, libPath, bufSize);
   }