[srm-cvs] CVS Update: - Fix module loading error

From: <d.rethans[@]jdimedia.nl>
Date: Thu Mar 28 2002 - 13:44:13 CET

Date: Thu Mar 28 13:44:12 CET 2002
User: Derick Rethans
Directory: srm/main/src

Log Message:
 [0.25]
 - Fix module loading error
 
Modified files:
           srm/main/src/srm_modules.c (version: 1.64)
           srm/main/src/srm_modules.h (version: 1.32)

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

--- srm/main/src/srm_modules.c:1.63 Sat Feb 23 18:59:22 2002 GMT
+++ srm/main/src/srm_modules.c Thu Mar 28 11:44:12 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.63 2002/02/23 19:59:22 kalowsky Exp $ */
+/* $Id: cvstemp,v 1.64 2002/03/28 12:44:12 derick 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
@@ -246,7 +246,7 @@
 /* - Trying to obtain handle to the .so file */
         handle = DL_LOAD (module_name);
         if (!handle) {
- srm_error (ERROR_OPEN_MODULE, "Cannot open module: %s", DL_ERROR);
+ srm_error (ERROR_OPEN_MODULE, "Cannot open module: %s", DL_ERROR());
         }
 
 /* - Obtaining the module_entry symbol */

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

--- srm/main/src/srm_modules.h:1.31 Sat Feb 23 18:59:22 2002 GMT
+++ srm/main/src/srm_modules.h Thu Mar 28 11:44:12 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.31 2002/02/23 19:59:22 kalowsky Exp $ */
+/* $Id: cvstemp,v 1.32 2002/03/28 12:44:12 derick 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
@@ -143,7 +143,7 @@
 # define DL_LOAD(libname) srm_ns_load (libname)
 # define DL_UNLOAD(handle) NSUnLinkModule(handle,FALSE)
 # define DL_FETCH_SYM(h,s) srm_ns_symbol(h,s)
-# define DL_ERROR srm_ns_error()
+# define DL_ERROR srm_ns_error
 
 /* enable module support */
 # define SRM_DLMODULES_SUPPORT 1
Received on Thu Mar 28 13:35:40 2002

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