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

version» Context lines:

pike.git/src/modules/Gdbm/gdbmmod.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: gdbmmod.c,v 1.23 2002/12/30 13:06:19 grubba Exp $ + || $Id: gdbmmod.c,v 1.24 2003/04/07 17:25:04 nilsson Exp $   */      #include "global.h" - RCSID("$Id: gdbmmod.c,v 1.23 2002/12/30 13:06:19 grubba Exp $"); + RCSID("$Id: gdbmmod.c,v 1.24 2003/04/07 17:25:04 nilsson Exp $");   #include "gdbm_machine.h"   #include "threads.h"      /* Todo: make sure only one thread accesses the same gdbmmod */      #include "interpret.h"   #include "svalue.h"   #include "stralloc.h"   #include "array.h"   #include "object.h"
pike.git/src/modules/Gdbm/gdbmmod.c:117:    *! @value t    *! Overwrite existing database    *! @value f    *! Fast mode    *! @endstring    *!    *! The fast mode prevents the database from syncronizing each change    *! in the database immediately. This is dangerous because the database    *! can be left in an unusable state if Pike is terminated abnormally.    *! -  *! The default mode is @tt{"rwc"@}. +  *! The default mode is @expr{"rwc"@}.    *!    *! @note    *! The gdbm manual states that it is important that the database is    *! closed properly. Unfortunately this will not be the case if Pike    *! calls exit() or returns from main(). You should therefore make sure    *! you call close or destruct your gdbm objects when exiting your    *! program. This will probably be done automatically in the future.    */      static void gdbmmod_create(INT32 args)