/[m4]/m4/m4/module.c
ViewVC logotype

Diff of /m4/m4/module.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by gary, Thu Oct 11 21:09:16 2001 UTC revision 1.16 by akim, Fri Oct 19 15:35:11 2001 UTC
# Line 222  m4_module_init (void) Line 222  m4_module_init (void)
222    /* Couldn't initialise the module system; diagnose and exit.  */    /* Couldn't initialise the module system; diagnose and exit.  */
223    if (errors)    if (errors)
224      M4ERROR ((EXIT_FAILURE, 0,      M4ERROR ((EXIT_FAILURE, 0,
225                _("ERROR: failed to initialise module loader: %s"),                _("failed to initialise module loader: %s"),
226                m4_module_dlerror ()));                m4_module_dlerror ()));
227    
228  #ifdef DEBUG_MODULES  #ifdef DEBUG_MODULES
# Line 274  m4_module_open (const char *name, struct Line 274  m4_module_open (const char *name, struct
274      {      {
275        /* Couldn't open the module; diagnose and exit. */        /* Couldn't open the module; diagnose and exit. */
276        M4ERROR ((EXIT_FAILURE, 0,        M4ERROR ((EXIT_FAILURE, 0,
277                  _("ERROR: cannot open module `%s': %s"),                  _("cannot open module `%s': %s"),
278                  name, m4_module_dlerror ()));                  name, m4_module_dlerror ()));
279      }      }
280    
# Line 284  m4_module_open (const char *name, struct Line 284  m4_module_open (const char *name, struct
284           if we were about to diagnose a module with no entry points.  */           if we were about to diagnose a module with no entry points.  */
285        if (!lt_dlsym (handle, M4_FINISH_SYMBOL))        if (!lt_dlsym (handle, M4_FINISH_SYMBOL))
286          M4ERROR ((EXIT_FAILURE, 0,          M4ERROR ((EXIT_FAILURE, 0,
287                    _("ERROR: module `%s' has no entry points"),                    _("module `%s' has no entry points"),
288                    name));                    name));
289      }      }
290    
# Line 374  m4_module_close (lt_dlhandle handle, str Line 374  m4_module_close (lt_dlhandle handle, str
374    if (errors)    if (errors)
375      {      {
376        M4ERROR ((EXIT_FAILURE, 0,        M4ERROR ((EXIT_FAILURE, 0,
377                  _("ERROR: cannot close module `%s': %s"),                  _("cannot close module `%s': %s"),
378                  name, m4_module_dlerror ()));                  name, m4_module_dlerror ()));
379      }      }
380    
# Line 402  m4_module_close_all (struct obstack *obs Line 402  m4_module_close_all (struct obstack *obs
402    if (lt_dlexit() != 0)    if (lt_dlexit() != 0)
403      {      {
404        M4ERROR ((EXIT_FAILURE, 0,        M4ERROR ((EXIT_FAILURE, 0,
405                  _("ERROR: cannot close modules: %s"),                  _("cannot close modules: %s"),
406                  m4_module_dlerror ()));                  m4_module_dlerror ()));
407      }      }
408  }  }
# Line 517  m4_module_unload (const char *name, stru Line 517  m4_module_unload (const char *name, stru
517    if (errors)    if (errors)
518      {      {
519        M4ERROR ((EXIT_FAILURE, 0,        M4ERROR ((EXIT_FAILURE, 0,
520                  _("ERROR: cannot unload module `%s': %s"),                  _("cannot unload module `%s': %s"),
521                  name, m4_module_dlerror ()));                  name, m4_module_dlerror ()));
522      }      }
523  }  }
# Line 556  m4_module_unload_all (void) Line 556  m4_module_unload_all (void)
556    if (errors)    if (errors)
557      {      {
558        M4ERROR ((EXIT_FAILURE, 0,        M4ERROR ((EXIT_FAILURE, 0,
559                  _("ERROR: cannot unload all modules: %s"),                  _("cannot unload all modules: %s"),
560                  m4_module_dlerror ()));                  m4_module_dlerror ()));
561      }      }
562  }  }

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26