diff --git a/ChangeLog b/ChangeLog index d5d66ff2..286ec22f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ Anything we add/remove/fix/change is in here (even our rants) Fish (F), Mark (M), DeadNotBuried (D) =============================================================================== * NeoStats * Version 3.0.a3-dev + - Remove GDBM locking to try and fix problems on BSD. (M) - Remove RTA support. (M) - Add Umask function so our config files are not world/group readable, and update htmlstats in statserv to change the permissions after writting out diff --git a/src/dbm/gdbm.c b/src/dbm/gdbm.c index 7f7b7156..8b50efe1 100755 --- a/src/dbm/gdbm.c +++ b/src/dbm/gdbm.c @@ -37,7 +37,7 @@ void *DBMOpenTable( const char *name ) dlog( DEBUG4, "DBMOpenTable" ); ircsprintf( filename, "%s.gdbm", name ); - gdbm_file = gdbm_open( filename, 0, GDBM_WRCREAT, 00664, NULL ); + gdbm_file = gdbm_open( filename, 0, GDBM_WRCREAT | GDBM_NOLOCK, 00664, NULL ); if( gdbm_file == NULL ) { dlog( DEBUG1, "gdbm_open fail: %s", gdbm_strerror( gdbm_errno ) );