diff options
author | drh <drh@noemail.net> | 2014-08-12 12:19:25 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-08-12 12:19:25 +0000 |
commit | 61ffea549087e3489eb59a80bc152ed6c9c65804 (patch) | |
tree | b2c784bad777c509b732b4f661239f51f4e1344c /src/os_unix.c | |
parent | 793bd861fe53ab1e4d6ec105b268ec8bc2d9cae1 (diff) | |
download | sqlite-61ffea549087e3489eb59a80bc152ed6c9c65804.tar.gz sqlite-61ffea549087e3489eb59a80bc152ed6c9c65804.zip |
Fix typos in the VxWorks code of os_unix.c.
FossilOrigin-Name: 19682e8fdc4a3b7884dba3e4387763e435ec16e6
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index feb931416..d8b5db768 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1296,12 +1296,12 @@ static int findInodeInfo( ** Return TRUE if pFile has been renamed or unlinked since it was first opened. */ static int fileHasMoved(unixFile *pFile){ - struct stat buf; - return pFile->pInode!=0 && #if OS_VXWORKS - pFile->pId!=pFile->pInode->fileId.Pid; + return pFile->pInode!=0 && pFile->pId!=pFile->pInode->fileId.pId; #else - (osStat(pFile->zPath, &buf)!=0 || buf.st_ino!=pFile->pInode->fileId.ino); + struct stat buf; + return pFile->pInode!=0 && + (osStat(pFile->zPath, &buf)!=0 || buf.st_ino!=pFile->pInode->fileId.ino); #endif } |