Remove GDBM locking to try and fix problems on BSD
This commit is contained in:
parent
6f6fdae6c6
commit
a3a3f858c2
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 ) );
|
||||
|
|
Reference in a new issue