aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-01 13:37:55 +0000
committerdrh <drh@noemail.net>2014-09-01 13:37:55 +0000
commit19541f3018295f89a57931917539d1ea2fa93eff (patch)
tree8c0235ec8b5be1d8c1c379b238d943612e7016b2 /src/os_unix.c
parentee6438df0b109a2137d19cad0072e848527c86cc (diff)
downloadsqlite-19541f3018295f89a57931917539d1ea2fa93eff.tar.gz
sqlite-19541f3018295f89a57931917539d1ea2fa93eff.zip
Attempt to make the xDelete method of the unix VFS more robust on VxWorks.
FossilOrigin-Name: b0f6b91f36b503d8ba8d5257bb194f8c1afb4833
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index b1a0bedcf..f63afc6bc 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -5885,7 +5885,7 @@ static int unixDelete(
if( osUnlink(zPath)==(-1) ){
if( errno==ENOENT
#if OS_VXWORKS
- || errno==0x380003
+ || osAccess(zPath,0)!=0
#endif
){
rc = SQLITE_IOERR_DELETE_NOENT;