1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

r7332: added note to self for required modification

(This used to be commit 8fa340c1d4423673e5a935f815491534413d9536)
This commit is contained in:
Derrell Lipman 2005-06-06 13:11:06 +00:00 committed by Gerald (Jerry) Carter
parent 8423835521
commit b8e8e5ed4e

View File

@ -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) {