pike.git / src / dynamic_load.c

version» Context lines:

pike.git/src/dynamic_load.c:1:   /*   || 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: dynamic_load.c,v 1.83 2004/04/18 02:19:38 mast Exp $ + || $Id: dynamic_load.c,v 1.84 2005/10/19 12:41:20 nilsson Exp $   */      #ifdef TESTING   #define NO_PIKE_INCLUDES   #define CREATE_MAIN   #define NO_PIKE_GUTS   #endif      #ifndef NO_PIKE_INCLUDES   # include "global.h"
pike.git/src/dynamic_load.c:17:   # include "constants.h"   # include "pike_error.h"   # include "module.h"   # include "stralloc.h"   # include "pike_macros.h"   # include "main.h"   # include "constants.h"   # include "lex.h"   # include "object.h"    - RCSID("$Id: dynamic_load.c,v 1.83 2004/04/18 02:19:38 mast Exp $"); + RCSID("$Id: dynamic_load.c,v 1.84 2005/10/19 12:41:20 nilsson Exp $");      #else /* TESTING */      #include <stdio.h>      #endif /* !TESTING */      #ifdef HAVE_ERRNO_H   #include <errno.h>   #endif /* HAVE_ERRNO_H */
pike.git/src/dynamic_load.c:605:    } else {    /* No identifier references -- Disabled module. */    free_program(p);    push_undefined();    }    } else {    /* Initialization failed. */    new_module->exit();    dlclose(module);    dynamic_module_list = new_module->next; +  free_string(new_module->name);    free(new_module);    if (strlen(module_name->str) < 1024) {    Pike_error("Failed to initialize dynamic module \"%s\".\n",    module_name->str);    } else {    Pike_error("Failed to initialize dynamic module.\n");    }    }    }   }