Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Enhancement to Windows "file-exists" function by Joel Lucsy. (CVS 374) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d3d59261da9bef3250e99444167ad6ef |
User & Date: | drh 2002-02-18 12:48:46.000 |
Context
2002-02-18
| ||
13:35 | Additional tests for the sub-query feature. (CVS 375) (check-in: a0019fce70 user: drh tags: trunk) | |
12:48 | Enhancement to Windows "file-exists" function by Joel Lucsy. (CVS 374) (check-in: d3d59261da user: drh tags: trunk) | |
03:21 | Test and documentation updates for sub-queries. (CVS 373) (check-in: 607c0c49b2 user: drh tags: trunk) | |
Changes
Changes to src/os.c.
︙ | ︙ | |||
206 207 208 209 210 211 212 | ** Return TRUE if the named file exists. */ int sqliteOsFileExists(const char *zFilename){ #if OS_UNIX return access(zFilename, 0)==0; #endif #if OS_WIN | < < < < < < < < < < < | < < | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | ** Return TRUE if the named file exists. */ int sqliteOsFileExists(const char *zFilename){ #if OS_UNIX return access(zFilename, 0)==0; #endif #if OS_WIN return GetFileAttributes(zFilename) != 0xffffffff; #endif } /* ** Attempt to open a file for both reading and writing. If that ** fails, try opening it read-only. If the file does not exist, |
︙ | ︙ |