aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-10-16 13:27:40 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-10-16 13:27:40 +0000
commitd39fa70c79ce45d11cadb03ec23d77db058a06b5 (patch)
tree2bf4a8502c7ae22e284ca5dc9e5ac27624d17859 /src
parent9e885cd885ebce3fce6c86b0763ee945681ee3a2 (diff)
downloadsqlite-d39fa70c79ce45d11cadb03ec23d77db058a06b5.tar.gz
sqlite-d39fa70c79ce45d11cadb03ec23d77db058a06b5.zip
Fix an error in (5826). (CVS 5828)
FossilOrigin-Name: 8065a92f705dfa04863ba4a828f5bd2803901be8
Diffstat (limited to 'src')
-rw-r--r--src/os_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 2f972130a..12509d1f6 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -12,7 +12,7 @@
**
** This file contains code that is specific to Unix systems.
**
-** $Id: os_unix.c,v 1.206 2008/10/15 16:02:49 danielk1977 Exp $
+** $Id: os_unix.c,v 1.207 2008/10/16 13:27:41 danielk1977 Exp $
*/
#include "sqliteInt.h"
#if SQLITE_OS_UNIX /* This file is used on unix only */
@@ -2681,7 +2681,7 @@ static int unixDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){
int rc = SQLITE_OK;
SimulateIOError(return SQLITE_IOERR_DELETE);
unlink(zPath);
-#ifdef SQLITE_DISABLE_DIRSYNC
+#ifndef SQLITE_DISABLE_DIRSYNC
if( dirSync ){
int fd;
rc = openDirectory(zPath, &fd);