Differences From Artifact [cc9baf9e20]:
- File src/printf.c — part of check-in [e7f13b82b6] at 2020-07-21 02:47:01 on branch trunk — Corrected [b2ac2183] to work with CGI directory-serving mode. Renamed the two JSON bootstrap routines to be more descriptive and made it a harmless no-op to call json_bootstrap_early() (formerly json_main_bootstrap()) multiple times in order to simplify some code. Several minor code style fixes in related code. (user: stephan size: 39885) [more...]
To Artifact [6975464d6f]:
- File src/printf.c — part of check-in [75deba73b5] at 2020-08-21 15:05:32 on branch sec2020 — Improved documentation of the database write protection logic. Added undocumented SQL command db_protect() and db_protect_pop() to the "sql" command. Panic on a protection stack overflow. (user: drh size: 39942) [more...]
| ︙ | |||
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 | 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 | + + + |
}
fossil_errorlog("panic: %s", z);
rc = fossil_print_error(rc, z);
abort();
exit(rc);
}
NORETURN void fossil_fatal(const char *zFormat, ...){
static int once = 0;
char *z;
int rc = 1;
if( once ) exit(1);
once = 1;
va_list ap;
mainInFatalError = 1;
va_start(ap, zFormat);
z = vmprintf(zFormat, ap);
va_end(ap);
rc = fossil_print_error(rc, z);
fossil_free(z);
|
| ︙ |