* tests/test-immutable.c (install_segv_handler): On FreeBSD, install the
handler also for SIGBUS.
+2021-02-07 Bruno Haible <bruno@clisp.org>
+
+ immutable: Avoid test failures on MidnightBSD.
+ * tests/test-immutable.c (install_segv_handler): On FreeBSD, install the
+ handler also for SIGBUS.
+
2021-02-07 Bruno Haible <bruno@clisp.org>
c32is*: Avoid test failures on MidnightBSD.
install_segv_handler (void)
{
signal (SIGSEGV, segv_handler);
-# if defined __APPLE__ && defined __MACH__
+# if (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__
signal (SIGBUS, segv_handler);
# endif
}