m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/modules/load.c,v


From: Eric Blake
Subject: Changes to m4/modules/load.c,v
Date: Thu, 06 Sep 2007 22:58:28 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      07/09/06 22:58:27

Index: modules/load.c
===================================================================
RCS file: /sources/m4/m4/modules/load.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- modules/load.c      7 Aug 2007 03:15:29 -0000       1.24
+++ modules/load.c      6 Sep 2007 22:58:26 -0000       1.25
@@ -75,9 +75,10 @@
    unload is in progress.  */
 M4INIT_HANDLER (load)
 {
-  if (handle && lt_dlmakeresident (handle) != 0)
+  const char *err = m4_module_makeresident (handle);
+  if (err)
     m4_error (context, 0, 0, _("cannot make module `%s' resident: %s"),
-             m4_get_module_name (handle), lt_dlerror ());
+             m4_get_module_name (handle), err);
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]