summaryrefslogtreecommitdiff
path: root/source3/locking/posix.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-04 05:13:59 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-04 05:13:59 +0000
commit05fc3e578c895f632b351969d09cd00feb7599c7 (patch)
tree8dca3af624421a6f3ea664e14e5666da37aefb46 /source3/locking/posix.c
parentf903ec893ad7aff832193bcd7035be3ee9c65c22 (diff)
downloadsamba-05fc3e578c895f632b351969d09cd00feb7599c7.tar.gz
samba-05fc3e578c895f632b351969d09cd00feb7599c7.tar.bz2
samba-05fc3e578c895f632b351969d09cd00feb7599c7.zip
use LDSHFLAGS not -shared in several places
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
Diffstat (limited to 'source3/locking/posix.c')
-rw-r--r--source3/locking/posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/posix.c b/source3/locking/posix.c
index 75fc6272b5..9cfe25ed9d 100644
--- a/source3/locking/posix.c
+++ b/source3/locking/posix.c
@@ -1350,14 +1350,14 @@ BOOL posix_locking_init(int read_only)
return True;
if (!posix_lock_tdb)
- posix_lock_tdb = tdb_open(NULL, 0, TDB_INTERNAL,
+ posix_lock_tdb = tdb_open_log(NULL, 0, TDB_INTERNAL,
read_only?O_RDONLY:(O_RDWR|O_CREAT), 0644);
if (!posix_lock_tdb) {
DEBUG(0,("Failed to open POSIX byte range locking database.\n"));
return False;
}
if (!posix_pending_close_tdb)
- posix_pending_close_tdb = tdb_open(NULL, 0, TDB_INTERNAL,
+ posix_pending_close_tdb = tdb_open_log(NULL, 0, TDB_INTERNAL,
read_only?O_RDONLY:(O_RDWR|O_CREAT), 0644);
if (!posix_pending_close_tdb) {
DEBUG(0,("Failed to open POSIX pending close database.\n"));