mfabik / rpms / satyr

Forked from rpms/satyr 3 years ago
Clone

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

1275dc
From 933bd99829000bcd9bf674f0e2e61c562767a09b 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 14:37:15 +0200
1275dc
Subject: [PATCH] normalization: add glibc __libc_fatal
1275dc
1275dc
---
1275dc
 lib/normalize.c | 3 ++-
1275dc
 1 file changed, 2 insertions(+), 1 deletion(-)
1275dc
1275dc
diff --git a/lib/normalize.c b/lib/normalize.c
1275dc
index 4b22645..bec2ccc 100644
1275dc
--- a/lib/normalize.c
1275dc
+++ b/lib/normalize.c
1275dc
@@ -216,7 +216,8 @@ is_removable_glibc_with_above(const char *function_name,
1275dc
         call_match(function_name, source_file, "__libc_memalign", "malloc.c", NULL) ||
1275dc
         call_match(function_name, source_file, "__libc_realloc", "malloc.c", NULL) ||
1275dc
         call_match(function_name, source_file, "__posix_memalign", "malloc.c", NULL) ||
1275dc
-        call_match(function_name, source_file, "__libc_calloc", "malloc.c", NULL);
1275dc
+        call_match(function_name, source_file, "__libc_calloc", "malloc.c", NULL) ||
1275dc
+        call_match(function_name, source_file, "__libc_fatal", "libc", NULL);
1275dc
 }
1275dc
 
1275dc
 static char *
1275dc
-- 
1275dc
1.8.3.1
1275dc