Branch: Tag:

2004-04-18

2004-04-18 05:37:13 by Martin Stjernholm <mast@lysator.liu.se>

dlopen_error is now module_load_error.

Rev: lib/master.pike.in:1.345

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.344 2004/04/17 19:33:20 marcus Exp $ + // $Id: master.pike.in,v 1.345 2004/04/18 05:37:13 mast Exp $      #pike __REAL_VERSION__   //#pragma strict_types
837:    resolv_debug ("low_findprog %s: failed to load binary\n", fname);    objects[ret] = no_value;    ret=programs[fname]=0; // Negative cache. -  if (objectp (err) && err->is_dlopen_error) +  if (objectp (err) && err->is_module_load_error)    // Do not treat errors from dlopen(3) as exceptions since in    // a dist we can have .so files that are dynamically linked    // against libraries that don't exist on the system, and in
848:    // from dlerror(3) doesn't allow us to tell those from other    // errors.    call_compile_warning (handler, fname, -  "Failed to load library: %s\n", err->dlerror); +  "Failed to load library: %s\n", err->reason);    else    compile_cb_rethrow (err);    }