pike.git / src / modules / Gdbm / gdbmmod.c

version» Context lines:

pike.git/src/modules/Gdbm/gdbmmod.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: gdbmmod.c,v 1.4 1997/08/30 18:36:04 grubba Exp $"); + RCSID("$Id: gdbmmod.c,v 1.5 1997/08/30 22:21:49 grubba Exp $");   #include "gdbm_machine.h"   #include "threads.h"      /* Todo: make sure only one thread accesses the same gdbmmod */      #if defined(HAVE_GDBM_H) && defined(HAVE_LIBGDBM)      #include "interpret.h"   #include "svalue.h"   #include "stralloc.h"
pike.git/src/modules/Gdbm/gdbmmod.c:305:    gdbm_sync(this->dbf);    mt_unlock(& gdbm_lock);    THREADS_DISALLOW();    push_int(0);   }      static void gdbmmod_close(INT32 args)   {    pop_n_elems(args);    -  do_free(THIS->dbf); +  do_free();    push_int(0);   }      static void init_gdbm_glue(struct object *o)   {    THIS->dbf=0;   }      static void exit_gdbm_glue(struct object *o)   {