1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-19 21:43:15 +03:00

Fix an error in (5826). (CVS 5828)

FossilOrigin-Name: 8065a92f705dfa04863ba4a828f5bd2803901be8
This commit is contained in:
danielk1977
2008-10-16 13:27:40 +00:00
parent 9e885cd885
commit d39fa70c79
3 changed files with 10 additions and 10 deletions

View File

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