aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb32/mdb_copy.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-07-16 12:46:15 +0200
committerRiccardo Spagni <ric@spagni.net>2015-07-16 12:46:15 +0200
commita4254a48f12c50470f3cc0e73029e8c7dec4a18e (patch)
tree9495e3039cfe53eaa445d8c5b164dcdda2ead631 /external/db_drivers/liblmdb32/mdb_copy.c
parentupdated in-source lmdb (diff)
downloadmonero-a4254a48f12c50470f3cc0e73029e8c7dec4a18e.tar.xz
updated vl32 to current
Diffstat (limited to 'external/db_drivers/liblmdb32/mdb_copy.c')
-rw-r--r--external/db_drivers/liblmdb32/mdb_copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/db_drivers/liblmdb32/mdb_copy.c b/external/db_drivers/liblmdb32/mdb_copy.c
index e7f965c03..f37ccbcc2 100644
--- a/external/db_drivers/liblmdb32/mdb_copy.c
+++ b/external/db_drivers/liblmdb32/mdb_copy.c
@@ -1,6 +1,6 @@
/* mdb_copy.c - memory-mapped database backup tool */
/*
- * Copyright 2012 Howard Chu, Symas Corp.
+ * Copyright 2012-2015 Howard Chu, Symas Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -64,7 +64,7 @@ int main(int argc,char * argv[])
act = "opening environment";
rc = mdb_env_create(&env);
if (rc == MDB_SUCCESS) {
- rc = mdb_env_open(env, argv[1], flags, 0664);
+ rc = mdb_env_open(env, argv[1], flags, 0600);
}
if (rc == MDB_SUCCESS) {
act = "copying";