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.70 2003/12/10 14:15:38 grubba Exp $ + || $Id: dynamic_load.c,v 1.71 2003/12/10 14:42:39 grubba 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 "language.h"   # include "lex.h"    - RCSID("$Id: dynamic_load.c,v 1.70 2003/12/10 14:15:38 grubba Exp $"); + RCSID("$Id: dynamic_load.c,v 1.71 2003/12/10 14:42:39 grubba 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:249:    NSObjectFileImage image = NULL;       if ((code = NSCreateObjectFileImageFromFile(module_name, &image)) !=    NSObjectFileImageSuccess) {    fprintf(stderr, "NSCreateObjectFileImageFromFile(\"%s\") failed with %d\n",    module_name, code);    return NULL;    }    /* FIXME: image should be freed somewhere! */    return NSLinkModule(image, module_name, -  how | NSLINKMODULE_OPTION_RETURN_ON_ERROR); +  how | NSLINKMODULE_OPTION_RETURN_ON_ERROR | +  NSLINKMODULE_OPTION_PRIVATE);   }      static char *dlerror(void)   {    NSLinkEditErrors class = 0;    int error_number = 0;    char *file_name = NULL;    char *error_string = NULL;    NSLinkEditError(&class, &error_number, &file_name, &error_string);    return error_string;