diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-11-20 19:31:30 +0100 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2019-11-21 07:48:08 -0500 |
commit | 5443c80b77c4cf1aea6ff6fd696973c709b3a4b8 (patch) | |
tree | 288b9256e36d69af5fc0c74188531fe6b1fcd720 /net-dns/rbldnsd | |
parent | dev-util/jenkins-bin: bump to v2.205 (diff) | |
download | gentoo-5443c80b77c4cf1aea6ff6fd696973c709b3a4b8.tar.gz gentoo-5443c80b77c4cf1aea6ff6fd696973c709b3a4b8.tar.bz2 gentoo-5443c80b77c4cf1aea6ff6fd696973c709b3a4b8.zip |
net-dns/rbldnsd: remove unused patch
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'net-dns/rbldnsd')
-rw-r--r-- | net-dns/rbldnsd/files/rbldnsd-0.998-fix-huge-zone-OOM.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/net-dns/rbldnsd/files/rbldnsd-0.998-fix-huge-zone-OOM.patch b/net-dns/rbldnsd/files/rbldnsd-0.998-fix-huge-zone-OOM.patch deleted file mode 100644 index 7a4d2da7187f..000000000000 --- a/net-dns/rbldnsd/files/rbldnsd-0.998-fix-huge-zone-OOM.patch +++ /dev/null @@ -1,60 +0,0 @@ -This upstream patch has been merged but not released. I (mjo) dropped -a change to the NEWS file to prevent a pointless conflict. - -From a1295eefc78b6e8a3c220e164dbfad6dbecc6f6e Mon Sep 17 00:00:00 2001 -From: Antonio Mammita <am@spamteq.com> -Date: Wed, 21 Dec 2016 16:54:06 +0100 -Subject: [PATCH] Fix for out of memory errors on huge zones. Thanks to Andrew - Clayton - ---- - rbldnsd.h | 6 +++--- - rbldnsd_util.c | 6 +++--- - 3 files changed, 10 insertions(+), 6 deletions(-) - -diff --git a/rbldnsd.h b/rbldnsd.h -index 6acd8a0..f195a30 100644 ---- a/rbldnsd.h -+++ b/rbldnsd.h -@@ -367,9 +367,9 @@ extern struct dataset *g_dsacl; /* global acl */ - extern const char *show_version; /* version.bind CH TXT */ - - void oom(void); --char *emalloc(unsigned size); --char *ezalloc(unsigned size); /* zero-fill */ --char *erealloc(void *ptr, unsigned size); -+char *emalloc(size_t size); -+char *ezalloc(size_t size); /* zero-fill */ -+char *erealloc(void *ptr, size_t size); - char *estrdup(const char *str); - char *ememdup(const void *buf, unsigned size); - -diff --git a/rbldnsd_util.c b/rbldnsd_util.c -index d17b51b..c6d628d 100644 ---- a/rbldnsd_util.c -+++ b/rbldnsd_util.c -@@ -460,21 +460,21 @@ dump_a_txt(const char *name, const char *rr, - - #endif - --char *emalloc(unsigned size) { -+char *emalloc(size_t size) { - void *ptr = malloc(size); - if (!ptr) - oom(); - return ptr; - } - --char *ezalloc(unsigned size) { -+char *ezalloc(size_t size) { - void *ptr = calloc(1, size); - if (!ptr) - oom(); - return ptr; - } - --char *erealloc(void *ptr, unsigned size) { -+char *erealloc(void *ptr, size_t size) { - void *nptr = realloc(ptr, size); - if (!nptr) - oom(); |