git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8423835
)
r7332: added note to self for required modification
author
Derrell Lipman
<derrell@samba.org>
Mon, 6 Jun 2005 13:11:06 +0000
(13:11 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:17:43 +0000
(13:17 -0500)
(This used to be commit
8fa340c1d4423673e5a935f815491534413d9536
)
source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
index 569978e34319a1cae3bce606963a03de5200dc46..602bd05fa2c6d298eec816d20f7b5ea08a01855c 100644
(file)
--- 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) {