/ Check-in [f14d55cf]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Untested fix for building on VxWorks.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f14d55cf358b0392d3b8cd61dc85f43a610a8edf
User & Date: drh 2013-04-27 12:13:29
Context
2013-04-27
18:06
Remove spellfix virtual table documentation from the source tree. Reference the separate documentation on the website instead. check-in: adcf7890 user: drh tags: trunk
12:13
Untested fix for building on VxWorks. check-in: f14d55cf user: drh tags: trunk
2013-04-26
19:33
Fix a formatting typo in a comment. No changes to code. check-in: 7a97226f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_unix.c.

  5283   5283     
  5284   5284     pNew->lastErrno = 0;
  5285   5285   #if OS_VXWORKS
  5286   5286     if( rc!=SQLITE_OK ){
  5287   5287       if( h>=0 ) robust_close(pNew, h, __LINE__);
  5288   5288       h = -1;
  5289   5289       osUnlink(zFilename);
  5290         -    isDelete = 0;
         5290  +    pNew->ctrlFlags |= UNIXFILE_DELETE;
  5291   5291     }
  5292         -  if( isDelete ) pNew->ctrlFlags |= UNIXFILE_DELETE;
  5293   5292   #endif
  5294   5293     if( rc!=SQLITE_OK ){
  5295   5294       if( h>=0 ) robust_close(pNew, h, __LINE__);
  5296   5295     }else{
  5297   5296       pNew->pMethod = pLockingStyle;
  5298   5297       OpenCounter(+1);
  5299   5298       verifyDbFile(pNew);