summaryrefslogtreecommitdiff
path: root/debian/patches/ihash-as-cache0002-libihash-fix-fast-insertion-corner-case.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-11-27 15:33:16 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-11-27 15:33:16 +0100
commit141ace1443a4829e91fcddf6f0f5875d1fc920bc (patch)
tree52b89faa865866a49ff8291c45aae6f82c608070 /debian/patches/ihash-as-cache0002-libihash-fix-fast-insertion-corner-case.patch
parentc5c8157b7def596bdf786d3c4de6537c62e30a97 (diff)
drop old patch series
Diffstat (limited to 'debian/patches/ihash-as-cache0002-libihash-fix-fast-insertion-corner-case.patch')
-rw-r--r--debian/patches/ihash-as-cache0002-libihash-fix-fast-insertion-corner-case.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches/ihash-as-cache0002-libihash-fix-fast-insertion-corner-case.patch b/debian/patches/ihash-as-cache0002-libihash-fix-fast-insertion-corner-case.patch
deleted file mode 100644
index 341f580e..00000000
--- a/debian/patches/ihash-as-cache0002-libihash-fix-fast-insertion-corner-case.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 143ea78cf3e14b9f9f7609e9fbb0a30635a92788 Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Sun, 22 Nov 2015 18:13:01 +0100
-Subject: [PATCH hurd 2/4] libihash: fix fast insertion corner case
-
-* libihash/ihash.c (hurd_ihash_locp_add): Fix insertion if the key
-doesn't match.
----
- libihash/ihash.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/libihash/ihash.c b/libihash/ihash.c
-index 8b1ad1f..598d341 100644
---- a/libihash/ihash.c
-+++ b/libihash/ihash.c
-@@ -267,6 +267,7 @@ hurd_ihash_locp_add (hurd_ihash_t ht, hurd_ihash_locp_t locp,
- if (ht->size == 0
- || item == NULL
- || item->value == _HURD_IHASH_DELETED
-+ || ! compare (ht, item->key, key)
- || hurd_ihash_get_load (ht) > ht->max_load)
- return hurd_ihash_add (ht, key, value);
-
---
-2.1.4
-