mfabik / rpms / satyr

Forked from rpms/satyr 3 years ago
Clone

Blame SOURCES/satyr-0.13-normalization-add-glibc-__assert_fail_base.patch

1275dc
From ae3890bb65dfd13c4dd1a52b2f9fb1d1a3515253 Mon Sep 17 00:00:00 2001
1275dc
From: =?UTF-8?q?Marek=20Bry=C5=A1a?= <mbrysa@redhat.com>
1275dc
Date: Wed, 27 May 2015 13:56:12 +0200
1275dc
Subject: [PATCH] normalization: add glibc __assert_fail_base
1275dc
1275dc
---
1275dc
 lib/normalize.c | 1 +
1275dc
 1 file changed, 1 insertion(+)
1275dc
1275dc
diff --git a/lib/normalize.c b/lib/normalize.c
1275dc
index 0e9b497..4b22645 100644
1275dc
--- a/lib/normalize.c
1275dc
+++ b/lib/normalize.c
1275dc
@@ -193,6 +193,7 @@ is_removable_glibc_with_above(const char *function_name,
1275dc
 {
1275dc
     return
1275dc
         call_match(function_name, source_file, "__assert_fail", "", NULL) ||
1275dc
+        call_match(function_name, source_file, "__assert_fail_base", "", NULL) ||
1275dc
         call_match(function_name, source_file, "__chk_fail", "", NULL) ||
1275dc
         call_match(function_name, source_file, "__longjmp_chk", "", NULL) ||
1275dc
         call_match(function_name, source_file, "__malloc_assert", "", NULL) ||
1275dc
-- 
1275dc
1.8.3.1
1275dc