diff options
author | drh <drh@noemail.net> | 2014-08-13 11:39:42 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-08-13 11:39:42 +0000 |
commit | bd9455457a5d752399c288f203439f8ce3105c13 (patch) | |
tree | 216b36cc35a49d3fef86c5ac99f10b24887c4e5a /src/os_unix.c | |
parent | 299b24688aa73b1921ae09e03d88ad54f6bf86f2 (diff) | |
download | sqlite-bd9455457a5d752399c288f203439f8ce3105c13.tar.gz sqlite-bd9455457a5d752399c288f203439f8ce3105c13.zip |
Minor change to unixDelete for VxWorks with a DOS filesystem.
FossilOrigin-Name: f01d42cc8b00d2b7c4f14defcb05fdc493cf1bfd
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index d8b5db768..b1a0bedcf 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5883,7 +5883,11 @@ static int unixDelete( UNUSED_PARAMETER(NotUsed); SimulateIOError(return SQLITE_IOERR_DELETE); if( osUnlink(zPath)==(-1) ){ - if( errno==ENOENT ){ + if( errno==ENOENT +#if OS_VXWORKS + || errno==0x380003 +#endif + ){ rc = SQLITE_IOERR_DELETE_NOENT; }else{ rc = unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath); |