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.84 2004/09/18 20:50:48 nilsson Exp $ + || $Id: dynamic_load.c,v 1.85 2004/10/16 07:27:30 agehall 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:634: Inside #if defined(USE_DYNAMIC_MODULES)
   ADD_EFUN("load_module", f_load_module,    tFunc(tStr,tPrg(tObj)), OPT_EXTERNAL_DEPEND);    }   #endif   }      /* Call the pike_module_exit() callbacks for the dynamic modules. */   void exit_dynamic_load(void)   {   #ifdef USE_DYNAMIC_MODULES -  struct module_list *tmp; +  struct module_list * volatile tmp;    JMP_BUF recovery;    for (tmp = dynamic_module_list; tmp; tmp = tmp->next)    {    if(SETJMP(recovery))    call_handle_error();    else    (*tmp->exit)();    UNSETJMP(recovery);    free_program(tmp->module_prog);    tmp->module_prog = NULL;