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: Wed, 09 Aug 2006 21:33:27 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/08/09 21:33:24

Index: modules/load.c
===================================================================
RCS file: /sources/m4/m4/modules/load.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- modules/load.c      27 Oct 2005 16:04:03 -0000      1.16
+++ modules/load.c      9 Aug 2006 21:33:24 -0000       1.17
@@ -1,5 +1,5 @@
 /* GNU m4 -- A simple macro processor
-   Copyright (C) 2000, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -71,13 +71,9 @@
    unload is in progress.  */
 M4INIT_HANDLER (load)
 {
-  if (handle)
-    if (lt_dlmakeresident (handle) != 0)
-      {
-       M4ERROR ((m4_get_warning_status_opt (context), 0,
-                 _("Warning: cannot make module `%s' resident: %s"),
-                 m4_get_module_name (handle), lt_dlerror ()));
-      }
+  if (handle && lt_dlmakeresident (handle) != 0)
+    m4_error (context, 0, 0, _("cannot make module `%s' resident: %s"),
+             m4_get_module_name (handle), lt_dlerror ());
 }
 
 




reply via email to

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