Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.
|Comment:||Provide a complete prototype for isatty() in the command-line shell sources.|
|Downloads:||Tarball | ZIP archive | SQL archive|
|Timelines:||family | ancestors | descendants | both | trunk|
|Files:||files | file ages | folders|
|User & Date:||drh 2011-10-13 16:36:29|
|17:09||An improved fix for the page_count and quick_check problem previously patched at [150592b4b4d8637] (check-in: c3cb7f4f user: drh tags: trunk)|
|16:36||Provide a complete prototype for isatty() in the command-line shell sources. (check-in: 8bf13b03 user: drh tags: trunk)|
|16:30||Change the command-line shell to do the ".dump" inside of a SAVEPOINT rather than a transaction, since this allows it to be run from within a transaction. (check-in: 6df7343b user: drh tags: trunk)|
Changes to src/shell.c.
67 67 #if defined(_WIN32) || defined(WIN32) 68 68 # include <io.h> 69 69 #define isatty(h) _isatty(h) 70 70 #define access(f,m) _access((f),(m)) 71 71 #else 72 72 /* Make sure isatty() has a prototype. 73 73 */ 74 -extern int isatty(); 74 +extern int isatty(int); 75 75 #endif 76 76 77 77 #if defined(_WIN32_WCE) 78 78 /* Windows CE (arm-wince-mingw32ce-gcc) does not provide isatty() 79 79 * thus we always assume that we have a console. That can be 80 80 * overridden with the -batch command line option. 81 81 */