Branch: Tag:

2004-03-22

2004-03-22 17:42:07 by Martin Stjernholm <mast@lysator.liu.se>

Improved error reporting from load_module and convert dlopen errors to
warnings. This to treat dynamic modules in the dist as nonexisting if they
fail to load due to nonexisting libs on the running system.

Rev: lib/master.pike.in:1.337
Rev: src/dynamic_load.c:1.79
Rev: src/errors.h:1.25

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: errors.h,v 1.24 2003/11/14 04:10:32 mast Exp $ + || $Id: errors.h,v 1.25 2004/03/22 17:42:07 mast Exp $   */      #ifdef ERR_DECLARE
127:      DECLARE_ERROR(master_load, ERR_INHERIT (generic), EMPTY)    + DECLARE_ERROR (dlopen, +  ERR_INHERIT (generic), +  ERR_VAR (struct pike_string *, string, PIKE_T_STRING, path) +  ERR_VAR (struct pike_string *, string, PIKE_T_STRING, dlerror) + ) +    #undef DECLARE_ERROR   #undef ERR_INHERIT   #undef ERR_VAR