diff options
Diffstat (limited to 'net/samba/patches/patch-bh')
-rw-r--r-- | net/samba/patches/patch-bh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/samba/patches/patch-bh b/net/samba/patches/patch-bh new file mode 100644 index 00000000000..3cd313ac869 --- /dev/null +++ b/net/samba/patches/patch-bh @@ -0,0 +1,20 @@ +$NetBSD: patch-bh,v 1.1 2005/11/14 08:05:28 jlam Exp $ + +--- registry/reg_db.c.orig 2005-10-12 13:03:45.000000000 -0400 ++++ registry/reg_db.c +@@ -198,12 +198,12 @@ BOOL init_registry_db( void ) + if ( tdb_reg ) + return True; + +- if ( !(tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600)) ) ++ if ( !(tdb_reg = tdb_open_log(state_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600)) ) + { +- tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); ++ tdb_reg = tdb_open_log(state_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); + if ( !tdb_reg ) { + DEBUG(0,("init_registry: Failed to open registry %s (%s)\n", +- lock_path("registry.tdb"), strerror(errno) )); ++ state_path("registry.tdb"), strerror(errno) )); + return False; + } + |