pike.git / src / dynamic_load.c

version» Context lines:

pike.git/src/dynamic_load.c:1:   #ifndef TESTING   # include "global.h"   # include "interpret.h"   # include "constants.h"   # include "error.h"   # include "module.h"   # include "stralloc.h"   # include "pike_macros.h"   # include "main.h"    - RCSID("$Id: dynamic_load.c,v 1.42 2000/08/10 09:04:42 grubba Exp $"); + RCSID("$Id: dynamic_load.c,v 1.43 2000/08/17 18:51:09 grubba Exp $");      #endif /* !TESTING */      #ifdef HAVE_ERRNO_H   #include <errno.h>   #endif /* HAVE_ERRNO_H */   #ifdef HAVE_STRING_H   #include <string.h>   #endif /* HAVE_STRING_H */   
pike.git/src/dynamic_load.c:306:    new_module->init=init;    new_module->exit=exit;       start_new_program();   #ifdef PIKE_DEBUG    { struct svalue *save_sp=sp;   #endif    (*(modfun)init)();   #ifdef PIKE_DEBUG    if(sp != save_sp) -  fatal("load_module(%s) left %d droppings on stack!\n", +  fatal("load_module(%s) left %ld droppings on stack!\n",    module_name, -  sp-save_sp); +  PTRDIFF_T_TO_LONG(sp - save_sp));    }   #endif       pop_n_elems(args);    push_program(end_program());   }      #endif /* HAVE_DLOPEN || USE_DLD || USE_HPUX_DL */