svn commit: samba r7332 - in
branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3: .
derrell at samba.org
derrell at samba.org
Mon Jun 6 13:11:07 GMT 2005
Author: derrell
Date: 2005-06-06 13:11:06 +0000 (Mon, 06 Jun 2005)
New Revision: 7332
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7332
Log:
added note to self for required modification
Modified:
branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c 2005-06-06 12:08:05 UTC (rev 7331)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c 2005-06-06 13:11:06 UTC (rev 7332)
@@ -912,6 +912,7 @@
/*
* 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) {
More information about the samba-cvs
mailing list