/ Check-in [527340ab]
Login

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

Overview
Comment:Changes for ERROR_PATH_NOT_FOUND in addition to ERROR_FILE_NOT_FOUND in winAccess().
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 527340abff18aedbcb0f82ac1296a9f548e24ac4
User & Date: drh 2012-08-31 12:31:18
Context
2012-08-31
14:55
In the spellfix phonehash() function, add letter W into the same character class as V. check-in: 75361013 user: drh tags: trunk
14:23
Update with latest trunk changes. check-in: 87995dc9 user: dan tags: sessions
14:10
Merge in latest trunk changes. check-in: bc9b9cd0 user: dan tags: apple-osx
12:31
Changes for ERROR_PATH_NOT_FOUND in addition to ERROR_FILE_NOT_FOUND in winAccess(). check-in: 527340ab user: drh tags: trunk
2012-08-30
20:24
Exclude the atof1.test test script from the valgrind permutations test since valgrind sets up the floating point hardware in an unusual way that makes atof1 fail. check-in: d3cf6832 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

  3906   3906             && sAttrData.nFileSizeLow==0 ){
  3907   3907           attr = INVALID_FILE_ATTRIBUTES;
  3908   3908         }else{
  3909   3909           attr = sAttrData.dwFileAttributes;
  3910   3910         }
  3911   3911       }else{
  3912   3912         logIoerr(cnt);
  3913         -      if( lastErrno!=ERROR_FILE_NOT_FOUND ){
         3913  +      if( lastErrno!=ERROR_FILE_NOT_FOUND && lastErrno!=ERROR_PATH_NOT_FOUND ){
  3914   3914           winLogError(SQLITE_IOERR_ACCESS, lastErrno, "winAccess", zFilename);
  3915   3915           sqlite3_free(zConverted);
  3916   3916           return SQLITE_IOERR_ACCESS;
  3917   3917         }else{
  3918   3918           attr = INVALID_FILE_ATTRIBUTES;
  3919   3919         }
  3920   3920       }