Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | One more change before 2.4.2: Make the os.h header file more robust in detecting whether to use unix or windows. (CVS 434) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c2e0b79057c9c643e7432e62c90399c8 |
User & Date: | drh 2002-03-20 00:00:29.000 |
Context
2002-03-20
| ||
01:05 | Version 2.4.2 (CVS 441) (check-in: 49d0323255 user: drh tags: trunk) | |
00:00 | One more change before 2.4.2: Make the os.h header file more robust in detecting whether to use unix or windows. (CVS 434) (check-in: c2e0b79057 user: drh tags: trunk) | |
2002-03-19
| ||
23:51 | Version 2.4.2 (CVS 433) (check-in: b0805b6069 user: drh tags: trunk) | |
Changes
Changes to src/os.c.
︙ | ︙ | |||
13 14 15 16 17 18 19 | ** This file contains code that is specific to particular operating ** systems. The purpose of this file is to provide a uniform abstraction ** on which the rest of SQLite can operate. */ #include "sqliteInt.h" #include "os.h" | < < < < < < < < < < < < < < < < | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ** This file contains code that is specific to particular operating ** systems. The purpose of this file is to provide a uniform abstraction ** on which the rest of SQLite can operate. */ #include "sqliteInt.h" #include "os.h" #if OS_UNIX # include <unistd.h> # include <fcntl.h> # include <sys/stat.h> # include <time.h> #endif #if OS_WIN |
︙ | ︙ |
Changes to src/os.h.
︙ | ︙ | |||
13 14 15 16 17 18 19 | ** This header file (together with is companion C source-code file ** "os.c") attempt to abstract the underlying operating system so that ** the SQLite library will work on both POSIX and windows systems. */ #ifndef _SQLITE_OS_H_ #define _SQLITE_OS_H_ | | > > | | > > > > | | > > | > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | ** This header file (together with is companion C source-code file ** "os.c") attempt to abstract the underlying operating system so that ** the SQLite library will work on both POSIX and windows systems. */ #ifndef _SQLITE_OS_H_ #define _SQLITE_OS_H_ #ifndef OS_UNIX # ifndef OS_WIN # if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__BORLANDC__) # define OS_WIN 1 # define OS_UNIX 0 # else # define OS_WIN 0 # define OS_UNIX 1 # endif # else # define OS_UNIX 0 # endif #endif #ifndef OS_WIN # define OS_WIN 0 #endif /* ** A handle for an open file is stored in an OsFile object. */ #if OS_UNIX typedef struct OsFile OsFile; |
︙ | ︙ |
Changes to www/changes.tcl.
︙ | ︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 | } chng {2002 Mar 14 (2.4.2)} { <li>Bug fix: Fix an assertion failure that occurred when ROWID was a column in a SELECT statement on a view.</li> <li>Bug fix: Fix an uninitialized variable in the VDBE that would could an assert failure.</li> } chng {2002 Mar 13 (2.4.1)} { <li>Using an unnamed subquery in a FROM clause would cause a segfault.</li> <li>The parser now insists on seeing a semicolon or the end of input before executing a statement. This avoids an accidental disaster if the WHERE keyword is misspelled in an UPDATE or DELETE statement.</li> | > > | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | } chng {2002 Mar 14 (2.4.2)} { <li>Bug fix: Fix an assertion failure that occurred when ROWID was a column in a SELECT statement on a view.</li> <li>Bug fix: Fix an uninitialized variable in the VDBE that would could an assert failure.</li> <li>Make the os.h header file more robust in detecting when the compile is for windows and when it is for unix.</li> } chng {2002 Mar 13 (2.4.1)} { <li>Using an unnamed subquery in a FROM clause would cause a segfault.</li> <li>The parser now insists on seeing a semicolon or the end of input before executing a statement. This avoids an accidental disaster if the WHERE keyword is misspelled in an UPDATE or DELETE statement.</li> |
︙ | ︙ |