mfabik / rpms / satyr

Forked from rpms/satyr 3 years ago
Clone

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

f41043
From 933bd99829000bcd9bf674f0e2e61c562767a09b Mon Sep 17 00:00:00 2001
f41043
From: =?UTF-8?q?Marek=20Bry=C5=A1a?= <mbrysa@redhat.com>
f41043
Date: Wed, 27 May 2015 14:37:15 +0200
f41043
Subject: [PATCH] normalization: add glibc __libc_fatal
f41043
f41043
---
f41043
 lib/normalize.c | 3 ++-
f41043
 1 file changed, 2 insertions(+), 1 deletion(-)
f41043
f41043
diff --git a/lib/normalize.c b/lib/normalize.c
f41043
index 4b22645..bec2ccc 100644
f41043
--- a/lib/normalize.c
f41043
+++ b/lib/normalize.c
f41043
@@ -216,7 +216,8 @@ is_removable_glibc_with_above(const char *function_name,
f41043
         call_match(function_name, source_file, "__libc_memalign", "malloc.c", NULL) ||
f41043
         call_match(function_name, source_file, "__libc_realloc", "malloc.c", NULL) ||
f41043
         call_match(function_name, source_file, "__posix_memalign", "malloc.c", NULL) ||
f41043
-        call_match(function_name, source_file, "__libc_calloc", "malloc.c", NULL);
f41043
+        call_match(function_name, source_file, "__libc_calloc", "malloc.c", NULL) ||
f41043
+        call_match(function_name, source_file, "__libc_fatal", "libc", NULL);
f41043
 }
f41043
 
f41043
 static char *
f41043
-- 
f41043
1.8.3.1
f41043