Branch: Tag:

1997-11-03

1997-11-03 03:18:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Removed again.

Rev: src/dynamic_load.c:1.22

6:   # include "module.h"   # include "stralloc.h"   # include "pike_macros.h" - #ifdef DEBUG - #include "main.h" - #endif /* DEBUG */ -  +    #endif      #if !defined(HAVE_DLOPEN) && defined(HAVE_DLD_LINK) && defined(HAVE_DLD_GET_FUNC)
102: Inside #if undefined(TESTING) and #if defined(HAVE_DLOPEN) || defined(USE_DLD)
   module_name = sp[-args].u.string->str;       module=dlopen(module_name, RTLD_NOW); - #ifdef DEBUG -  if (d_flag >= 1) { -  fprintf(stderr, "dlopen() called.\n"); -  } - #endif /* DEBUG */ +     if(!module)    {    const char *err = dlerror();