Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix some compiler warnings. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
250fc00dd3706ddc091378c4295f1c5d |
User & Date: | mistachkin 2018-08-08 00:03:19 |
Context
2018-08-08
| ||
01:51 | Add documentation about the backoffice. check-in: c6522a0f user: drh tags: trunk | |
00:03 | Fix some compiler warnings. check-in: 250fc00d user: mistachkin tags: trunk | |
00:01 | Add the test-backoffice-lease command for testing the backoffice. check-in: f26ef806 user: drh tags: trunk | |
Changes
Changes to src/backoffice.c.
122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
/* ** This function emits a diagnostic message related to the processing in ** this module. */ #if defined(_WIN32) # define BKOFCE_ALWAYS_TRACE (1) #else # define BKOFCE_ALWAYS_TRACE (0) #endif static void backofficeTrace(const char *zFormat, ...){ char *zMsg = 0; if( BKOFCE_ALWAYS_TRACE || g.fAnyTrace ){ va_list ap; |
> |
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 |
/*
** This function emits a diagnostic message related to the processing in
** this module.
*/
#if defined(_WIN32)
# define BKOFCE_ALWAYS_TRACE (1)
extern void sqlite3_win32_write_debug(const char *, int);
#else
# define BKOFCE_ALWAYS_TRACE (0)
#endif
static void backofficeTrace(const char *zFormat, ...){
char *zMsg = 0;
if( BKOFCE_ALWAYS_TRACE || g.fAnyTrace ){
va_list ap;
|
Changes to src/main.c.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
** This module codes the main() procedure that runs first when the ** program is invoked. */ #include "VERSION.h" #include "config.h" #if defined(_WIN32) # include <windows.h> # define GETPID (int)GetCurrentProcessId #endif #include "main.h" #include <string.h> #include <time.h> #include <fcntl.h> #include <sys/types.h> |
> > |
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
** This module codes the main() procedure that runs first when the ** program is invoked. */ #include "VERSION.h" #include "config.h" #if defined(_WIN32) # include <windows.h> # include <io.h> # define isatty(h) _isatty(h) # define GETPID (int)GetCurrentProcessId #endif #include "main.h" #include <string.h> #include <time.h> #include <fcntl.h> #include <sys/types.h> |