mfabik / rpms / satyr

Forked from rpms/satyr 3 years ago
Clone

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

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