From 19541f3018295f89a57931917539d1ea2fa93eff Mon Sep 17 00:00:00 2001 From: drh Date: Mon, 1 Sep 2014 13:37:55 +0000 Subject: Attempt to make the xDelete method of the unix VFS more robust on VxWorks. FossilOrigin-Name: b0f6b91f36b503d8ba8d5257bb194f8c1afb4833 --- src/os_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os_unix.c') 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; -- cgit v1.2.3