[srm-cvs] CVS Update: - Fix for the SRM_DLMODULES problem

From: <kalowsky[@]php.net>
Date: Sat Feb 23 2002 - 19:50:48 CET

Date: Sat Feb 23 19:50:47 CET 2002
User: Dan Kalowsky
Directory: srm/main/src

Log Message:
 [0.41]
 - Fix for the SRM_DLMODULES problem
 
 
Modified files:
           srm/main/src/srm_modules.c (version: 1.62)
           srm/main/src/srm_modules.h (version: 1.28)

[FILE: /srm/main/src/srm_modules.c]

--- srm/main/src/srm_modules.c:1.61 Sat Feb 23 17:18:01 2002 GMT
+++ srm/main/src/srm_modules.c Sat Feb 23 17:50:47 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.61 2002/02/23 18:18:01 kalowsky Exp $ */
+/* $Id: cvstemp,v 1.62 2002/02/23 18:50:47 kalowsky Exp $ */
 
 /* The contents of this file are subject to the Vulcan Logic Public
  * License Version 1.1 (the "License"); you may not use this file
@@ -65,6 +65,9 @@
 const char* srm_ns_error(void)
 {
         return NULL;
+ /*
+ * NSNameOfModule() might also help to state which module we're in
+ */
 }
 
 #endif /* SRM_MACOSX */

[FILE: /srm/main/src/srm_modules.h]

--- srm/main/src/srm_modules.h:1.27 Sat Feb 23 17:28:34 2002 GMT
+++ srm/main/src/srm_modules.h Sat Feb 23 17:50:47 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.27 2002/02/23 18:28:34 kalowsky Exp $ */
+/* $Id: cvstemp,v 1.28 2002/02/23 18:50:47 kalowsky Exp $ */
 
 /* The contents of this file are subject to the Vulcan Logic Public
  * License Version 1.1 (the "License"); you may not use this file
@@ -131,18 +131,23 @@
 # endif
 
 # define SRM_DLMODULES_SUPPORT 1
+
+#if defined(DEBUG_DAN) /* commenting out this section temporarily */
 #endif /* HAVE_LIBDL */
 
 #if defined(SRM_MACOSX) /* start SRM_MACOSX should really be HAVE_DYLD*/
+#endif /* DEBUG_DAN */
+
+#elif defined(SRM_MACOSX)
 
 /* functions */
-NSSymbol srm_ns_symbol(void *handle, char* symname);
+NSSymbol srm_ns_symbol (void *handle, char* symname);
 NSModule srm_ns_load (char* libname);
-const char* srm_ns_error(void);
+const char* srm_ns_error (void);
 
 /* defines */
 # define DL_LOAD(libname) srm_ns_load (libname)
-# define DL_UNLOAD(handle) NSUnLinkModule(handle,FALSE);
+# define DL_UNLOAD(handle) NSUnLinkModule(handle,FALSE)
 # define DL_FETCH_SYM(h,s) srm_ns_symbol(h,s)
 # define DL_ERROR srm_ns_error()
 
Received on Sat Feb 23 19:51:01 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 03:00:03 CET