aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/generic/segfault.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a2d59432cd..72b63860e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1998-11-29 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/generic/segfault.c (install_handler): Correct test for
+ SEGFAULT_HANDLER=all.
+ Patch by Zack Weinberg.
+
1998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
diff --git a/sysdeps/generic/segfault.c b/sysdeps/generic/segfault.c
index b0778df6fc..502b239602 100644
--- a/sysdeps/generic/segfault.c
+++ b/sysdeps/generic/segfault.c
@@ -188,7 +188,7 @@ install_handler (void)
else
{
const char *where;
- int all = __strcasecmp (sigs, "all");
+ int all = __strcasecmp (sigs, "all") == 0;
#define INSTALL_FOR_SIG(sig, name) \
where = __strcasestr (sigs, name); \