![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"
#include "common/file_location.h"
#include "common/system_signal_handling.h"
#include <errno.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <limits.h>
#include <signal.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
Macros | |
#define | _NUM_SIGNALS_TO_PRESERVE (sizeof(_signals_to_preserve) / sizeof(_signals_to_preserve[0])) |
defined (_WIN32) | |
Typedefs | |
typedef void() | dt_signal_handler_t(int) |
Functions | |
static void | _dt_sigsegv_handler (int param) |
void | dt_set_signal_handlers () |
Variables | |
static dt_signal_handler_t * | _dt_sigsegv_old_handler = NULL |
static const int | _signals_to_preserve [] |
static dt_signal_handler_t * | _orig_sig_handlers [(sizeof(_signals_to_preserve)/sizeof(_signals_to_preserve[0]))] = { NULL } |
static int | _times_handlers_were_set = 0 |
#define _NUM_SIGNALS_TO_PRESERVE (sizeof(_signals_to_preserve) / sizeof(_signals_to_preserve[0])) |
defined (_WIN32)
typedef void() dt_signal_handler_t(int) |
|
static |
References _dt_sigsegv_old_handler, darktable, darktable_package_string, dt_loc_get_datadir(), FALSE, PATH_MAX, darktable_t::progname, and TRUE.
Referenced by dt_set_signal_handlers().
void dt_set_signal_handlers | ( | ) |
defined(APPLE) && !defined(_WIN32)
References _dt_sigsegv_handler(), _dt_sigsegv_old_handler, _NUM_SIGNALS_TO_PRESERVE, _orig_sig_handlers, _signals_to_preserve, _times_handlers_were_set, and void().
Referenced by dt_init().
|
static |
Referenced by _dt_sigsegv_handler(), and dt_set_signal_handlers().
|
static |
Referenced by dt_set_signal_handlers().
|
static |
Referenced by dt_set_signal_handlers().
|
static |
Referenced by dt_set_signal_handlers().