Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2020-09/msg00175.html
* lib/c-stack.c (USE_LIBSIGSEGV): Fix typo that caused libsigsegv
to be used only on Solaris (exactly where it is not needed!).
+2020-10-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ c-stack: fix libsigsegv typo
+ Problem reported by Bruno Haible in:
+ https://lists.gnu.org/r/bug-gnulib/2020-09/msg00175.html
+ * lib/c-stack.c (USE_LIBSIGSEGV): Fix typo that caused libsigsegv
+ to be used only on Solaris (exactly where it is not needed!).
+
2020-10-03 Thien-Thi Nguyen <ttn@gnuvola.org>
MODULES.html.sh: Fix typo.
/* Use libsigsegv only if needed; kernels like Solaris can detect
stack overflow without the overhead of an external library. */
-#define USE_LIBSIGSEGV (HAVE_XSI_STACK_OVERFLOW_HEURISTIC && HAVE_LIBSIGSEGV)
+#define USE_LIBSIGSEGV (!HAVE_XSI_STACK_OVERFLOW_HEURISTIC && HAVE_LIBSIGSEGV)
#if USE_LIBSIGSEGV
# include <sigsegv.h>