aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/segfault.c
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 /sysdeps/generic/segfault.c
parent0fea0021dc0a121c6164844f77e55e00963764ed (diff)
downloadglibc-5f75d1e2fdf4b188bb742a7d6626731bf5b392f6.tar
glibc-5f75d1e2fdf4b188bb742a7d6626731bf5b392f6.tar.gz
glibc-5f75d1e2fdf4b188bb742a7d6626731bf5b392f6.tar.bz2
glibc-5f75d1e2fdf4b188bb742a7d6626731bf5b392f6.zip
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.
Diffstat (limited to 'sysdeps/generic/segfault.c')
-rw-r--r--sysdeps/generic/segfault.c2
1 files changed, 1 insertions, 1 deletions
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); \