diff options
author | Justus Winter <justus@gnupg.org> | 2016-06-04 14:51:52 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-06-04 14:51:52 +0200 |
commit | 3a8b473f58ea1c97ebc46dbbda0abde595777524 (patch) | |
tree | 7da377b3a8777e85340e73b4cb91e2b48b3a1d9f /debian/patches/leaks0001-xxx-print-fail.patch | |
parent | d6c3ccec5256a26355651d93f8732ac14d3a02a6 (diff) |
drop old patch series
Diffstat (limited to 'debian/patches/leaks0001-xxx-print-fail.patch')
-rw-r--r-- | debian/patches/leaks0001-xxx-print-fail.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/debian/patches/leaks0001-xxx-print-fail.patch b/debian/patches/leaks0001-xxx-print-fail.patch deleted file mode 100644 index de9fc0ed..00000000 --- a/debian/patches/leaks0001-xxx-print-fail.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 6f7a1ab15d87b9d47e5d05c0b473c7e645385afe Mon Sep 17 00:00:00 2001 -From: Justus Winter <justus@gnupg.org> -Date: Sat, 4 Jun 2016 04:40:44 +0200 -Subject: [PATCH hurd 1/2] xxx print fail - ---- - libshouldbeinlibc/assert-backtrace.c | 8 ++++++++ - libshouldbeinlibc/assert-backtrace.h | 6 ++++++ - 2 files changed, 14 insertions(+) - -diff --git a/libshouldbeinlibc/assert-backtrace.c b/libshouldbeinlibc/assert-backtrace.c -index ca23c8d..72a49e9 100644 ---- a/libshouldbeinlibc/assert-backtrace.c -+++ b/libshouldbeinlibc/assert-backtrace.c -@@ -76,4 +76,12 @@ __assert_perror_fail_backtrace (int errnum, - - } - -+void -+__print_fail_backtrace (const char *message, const char *file, -+ unsigned int line, const char *function) -+{ -+ __assert_fail_base_backtrace ("%s: %s:%u: %s: %s.\n", -+ message, file, line, function); -+} -+ - #endif /* ! defined NDEBUG */ -diff --git a/libshouldbeinlibc/assert-backtrace.h b/libshouldbeinlibc/assert-backtrace.h -index c54b810..b36e5b2 100644 ---- a/libshouldbeinlibc/assert-backtrace.h -+++ b/libshouldbeinlibc/assert-backtrace.h -@@ -42,6 +42,12 @@ void __assert_perror_fail_backtrace (int errnum, - const char *function) - __attribute__ ((noreturn, unused)); - -+/* Likewise, but prints the given MESSAGE. */ -+void -+__print_fail_backtrace (const char *message, const char *file, -+ unsigned int line, const char *function) -+ __attribute__ ((noreturn, unused)); -+ - #define assert_backtrace(expr) \ - ((expr) \ - ? (void) 0 \ --- -2.1.4 - |