summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-06-06 13:11:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:43 -0500
commitb8e8e5ed4e8436c4ad00eac8d72dd1157b770ab6 (patch)
treeddf052c46c1d33724c4a7a57b3d868c6563341e5 /source4
parent842383552178751c46d6f2dbe8cd7cbd38c034f7 (diff)
downloadsamba-b8e8e5ed4e8436c4ad00eac8d72dd1157b770ab6.tar.gz
samba-b8e8e5ed4e8436c4ad00eac8d72dd1157b770ab6.tar.bz2
samba-b8e8e5ed4e8436c4ad00eac8d72dd1157b770ab6.zip
r7332: added note to self for required modification
(This used to be commit 8fa340c1d4423673e5a935f815491534413d9536)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
index 569978e343..602bd05fa2 100644
--- a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
+++ b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
@@ -912,6 +912,7 @@ lsqlite3_initialize(struct lsqlite3_private *lsqlite3,
/*
* See if we'll be creating a new database, or opening an existing one
*/
+#warning "eliminate stat() here; concurrent processes could conflict"
if ((stat(p, &statbuf) < 0 && errno == ENOENT) ||
statbuf.st_size == 0) {