824d7523cf
(1.2.2 and 1.2.1 are build nits) Geeqie 1.2 ========== - Support for lcms2 - Basic support for lua scripting (still documentation needed) - Several bugfixes
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
$NetBSD: patch-ac,v 1.5 2015/09/10 19:06:57 gdt Exp $
|
|
|
|
Comment from 2009/07/24:
|
|
|
|
disable the SIGBUS handler completely -- as implemented it can only
|
|
cause trouble
|
|
|
|
This is not known to be reported upstream.
|
|
|
|
--- src/main.c.orig 2015-05-23 12:20:43.000000000 +0000
|
|
+++ src/main.c
|
|
@@ -709,6 +709,7 @@ void exit_program(void)
|
|
*/
|
|
/* FIXME: this probably needs some better ifdefs. Please report any compilation problems */
|
|
|
|
+#if 0
|
|
#if defined(SIGBUS) && defined(SA_SIGINFO)
|
|
static void sigbus_handler_cb(int signum, siginfo_t *info, void *context)
|
|
{
|
|
@@ -717,9 +718,11 @@ static void sigbus_handler_cb(int signum
|
|
mmap((void *)(((unsigned long)info->si_addr / pagesize) * pagesize), pagesize, PROT_READ | PROT_WRITE, MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
|
|
}
|
|
#endif
|
|
+#endif /* 0 */
|
|
|
|
static void setup_sigbus_handler(void)
|
|
{
|
|
+#if 0
|
|
#if defined(SIGBUS) && defined(SA_SIGINFO)
|
|
struct sigaction sigbus_action;
|
|
sigfillset(&sigbus_action.sa_mask);
|
|
@@ -728,6 +731,7 @@ static void setup_sigbus_handler(void)
|
|
|
|
sigaction(SIGBUS, &sigbus_action, NULL);
|
|
#endif
|
|
+#endif /* 0 */
|
|
}
|
|
|
|
gint main(gint argc, gchar *argv[])
|