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

version» Context lines:

pike.git/src/modules/Gdbm/gdbmmod.c:213:       THREADS_ALLOW();    mt_lock(& gdbm_lock);    tmp=gdbm_open(tmp2->str, 512, rwmode, 00666, gdbmmod_fatal);    mt_unlock(& gdbm_lock);    THREADS_DISALLOW();       if(!Pike_fp->current_object->prog)    {    if(tmp) gdbm_close(tmp); -  Pike_error("Object destructed in gdbm->open()n"); +  Pike_error("Object destructed in gdbm->create()\n");    }    this->dbf=tmp;       pop_n_elems(args);    if(!this->dbf)    Pike_error("Failed to open GDBM database: %d: %s.\n",    gdbm_errno, gdbm_strerror(gdbm_errno));    }   }