summaryrefslogtreecommitdiffstats
path: root/source/lib/messages.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-30 21:47:40 +0000
committerJeremy Allison <jra@samba.org>2001-07-30 21:47:40 +0000
commit6f35056bc1a8d2d647425fc59b1633bdf9b64bc6 (patch)
tree3c425168d0e32db9623006c00d058b8f829ea1de /source/lib/messages.c
parent7722b25d518839648626535763980900bef88e5b (diff)
downloadsamba-6f35056bc1a8d2d647425fc59b1633bdf9b64bc6.tar.gz
samba-6f35056bc1a8d2d647425fc59b1633bdf9b64bc6.tar.xz
samba-6f35056bc1a8d2d647425fc59b1633bdf9b64bc6.zip
Added "use mmap" (defaults to true) so this can be turned off in HPUX.
Merged in the "create account in domain" feature of smbpasswd from HEAD. Jeremy.
Diffstat (limited to 'source/lib/messages.c')
-rw-r--r--source/lib/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/messages.c b/source/lib/messages.c
index ffa873960e7..4813c14f132 100644
--- a/source/lib/messages.c
+++ b/source/lib/messages.c
@@ -90,7 +90,7 @@ BOOL message_init(void)
if (tdb) return True;
tdb = tdb_open_log(lock_path("messages.tdb"),
- 0, TDB_CLEAR_IF_FIRST,
+ 0, TDB_CLEAR_IF_FIRST|USE_TDB_MMAP_FLAG,
O_RDWR|O_CREAT,0600);
if (!tdb) {