aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-29 08:44:37 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-29 08:44:37 +0000
commit5f75d1e2fdf4b188bb742a7d6626731bf5b392f6 (patch)
tree00bae4fbf4cdf7d9024f5d50a0edf8bcd5a32392
parent0fea0021dc0a121c6164844f77e55e00963764ed (diff)
downloadglibc-5f75d1e2fdf4b188bb742a7d6626731bf5b392f6.zip
glibc-5f75d1e2fdf4b188bb742a7d6626731bf5b392f6.tar.gz
glibc-5f75d1e2fdf4b188bb742a7d6626731bf5b392f6.tar.bz2
Update.
1998-11-29 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/segfault.c (install_handler): Correct test for SEGFAULT_HANDLER=all. Patch by Zack Weinberg.
-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 a2d5943..72b6386 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 b0778df..502b239 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); \