From e7eda74df980aaa21537a1fc720da579410cb4f6 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 13 Jun 2016 12:38:37 +0200 Subject: [PATCH] Fix typo --- coreapi/sqlite3_bctbx_vfs.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/coreapi/sqlite3_bctbx_vfs.c b/coreapi/sqlite3_bctbx_vfs.c index 5ca959837..69bad997d 100644 --- a/coreapi/sqlite3_bctbx_vfs.c +++ b/coreapi/sqlite3_bctbx_vfs.c @@ -302,20 +302,20 @@ sqlite3_vfs *sqlite3_bctbx_vfs_create(void){ } /*static int sqlite3bctbx_winFullPathname( - sqlite3_vfs *pVfs, /* Pointer to vfs object */ - const char *zRelative, /* Possibly relative input path */ - int nFull, /* Size of output buffer in bytes */ + sqlite3_vfs *pVfs, // Pointer to vfs object + const char *zRelative, // Possibly relative input path + int nFull, // Size of output buffer in bytes char *zFull){ //LPWSTR zTemp; //DWORD nByte; - ///* If this path name begins with "/X:", where "X" is any alphabetic - //** character, discard the initial "/" from the pathname. - //*/ + // If this path name begins with "/X:", where "X" is any alphabetic + // character, discard the initial "/" from the pathname. + // //if (zRelative[0] == '/' && sqlite3Isalpha(zRelative[1]) && zRelative[2] == ':'){ // zRelative++; //} - /*nByte = GetFullPathNameW((LPCWSTR)zRelative, 0, 0, 0); + nByte = GetFullPathNameW((LPCWSTR)zRelative, 0, 0, 0); if (nByte == 0){ return SQLITE_CANTOPEN_FULLPATH; } @@ -337,7 +337,7 @@ sqlite3_vfs *sqlite3_bctbx_vfs_create(void){ } else{ return SQLITE_IOERR_NOMEM; - }*\/ + } sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zRelative); return SQLITE_OK; }*/