Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add support for backtrace in the ./configure script |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | segvhandler |
| Files: | files | file ages | folders |
| SHA3-256: |
3e03913b6f210546b68245c4f76e90c6 |
| User & Date: | drh 2018-07-19 13:24:46.286 |
Context
|
2018-07-19
| ||
| 13:29 | Improved error logging following a segfault. ... (check-in: a8d220b9ff user: drh tags: trunk) | |
| 13:24 | Add support for backtrace in the ./configure script ... (Closed-Leaf check-in: 3e03913b6f user: drh tags: segvhandler) | |
| 13:13 | Add a segfault simulator to the test-warning page. ... (check-in: c4dcb00dcc user: drh tags: segvhandler) | |
Changes
Changes to auto.def.
| ︙ | ︙ | |||
481 482 483 484 485 486 487 488 489 490 491 492 493 494 |
}
}
cc-check-function-in-lib ns_name_uncompress resolv
cc-check-functions utime
cc-check-functions usleep
cc-check-functions strchrnul
cc-check-functions pledge
# Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE
if {![cc-check-functions getloadavg]} {
define FOSSIL_OMIT_LOAD_AVERAGE 1
msg-result "Load average support unavailable"
}
| > | 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
}
}
cc-check-function-in-lib ns_name_uncompress resolv
cc-check-functions utime
cc-check-functions usleep
cc-check-functions strchrnul
cc-check-functions pledge
cc-check-functions backtrace
# Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE
if {![cc-check-functions getloadavg]} {
define FOSSIL_OMIT_LOAD_AVERAGE 1
msg-result "Load average support unavailable"
}
|
| ︙ | ︙ |
Changes to src/main.c.
| ︙ | ︙ | |||
46 47 48 49 50 51 52 53 54 55 56 57 58 59 | #ifdef FOSSIL_ENABLE_TCL # include "tcl.h" #endif #ifdef FOSSIL_ENABLE_JSON # include "cson_amalgamation.h" /* JSON API. */ # include "json_detail.h" #endif /* ** Maximum number of auxiliary parameters on reports */ #define MX_AUX 5 /* | > > > | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | #ifdef FOSSIL_ENABLE_TCL # include "tcl.h" #endif #ifdef FOSSIL_ENABLE_JSON # include "cson_amalgamation.h" /* JSON API. */ # include "json_detail.h" #endif #ifdef HAVE_BACKTRACE # include <execinfo.h> #endif /* ** Maximum number of auxiliary parameters on reports */ #define MX_AUX 5 /* |
| ︙ | ︙ |