/ Check-in [6eac49f0]
Login

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

Overview
Comment:recursively call os2Open() with the incoming VFS pointer, in case it gets used in the future (CVS 5496)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:6eac49f046d089dac90c0bf72e8c3fc583694dcd
User & Date: pweilbacher 2008-07-29 18:38:47
Context
2008-07-29
18:49
finally make temporary and journal files hidden in release builds on OS/2 (CVS 5497) check-in: c449a95c user: pweilbacher tags: trunk
18:38
recursively call os2Open() with the incoming VFS pointer, in case it gets used in the future (CVS 5496) check-in: 6eac49f0 user: pweilbacher tags: trunk
18:35
move os2FullPathname() so that it can be used in os2Open() directly (CVS 5495) check-in: 2455e454 user: pweilbacher tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_os2.c.

     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   ******************************************************************************
    12     12   **
    13     13   ** This file contains code that is specific to OS/2.
    14     14   **
    15         -** $Id: os_os2.c,v 1.53 2008/07/29 18:35:54 pweilbacher Exp $
           15  +** $Id: os_os2.c,v 1.54 2008/07/29 18:38:47 pweilbacher Exp $
    16     16   */
    17     17   
    18     18   #include "sqliteInt.h"
    19     19   
    20     20   #if SQLITE_OS_OS2
    21     21   
    22     22   /*
................................................................................
   831    831       OSTRACE7( "OPEN Invalid handle rc=%d: zName=%s, ulAction=%#lx, ulAttr=%#lx, ulFlags=%#lx, ulMode=%#lx\n",
   832    832                 rc, zName, ulAction, ulFileAttribute, ulOpenFlags, ulOpenMode );
   833    833       if( pFile->pathToDel )
   834    834         free( pFile->pathToDel );
   835    835       pFile->pathToDel = NULL;
   836    836       if( flags & SQLITE_OPEN_READWRITE ){
   837    837         OSTRACE2( "OPEN %d Invalid handle\n", ((flags | SQLITE_OPEN_READONLY) & ~SQLITE_OPEN_READWRITE) );
   838         -      return os2Open( 0, zName, id,
          838  +      return os2Open( pVfs, zName, id,
   839    839                         ((flags | SQLITE_OPEN_READONLY) & ~SQLITE_OPEN_READWRITE),
   840    840                         pOutFlags );
   841    841       }else{
   842    842         return SQLITE_CANTOPEN;
   843    843       }
   844    844     }
   845    845