From 13d87e76053b12fde8d58405b14f1efec4f8e393 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Tue, 15 Apr 2014 18:58:44 +0200 Subject: rm fix-libpager-notify-lookups.patch --- debian/patches/fix-libpager-notify-lookups.patch | 50 ------------------------ debian/patches/series | 2 - 2 files changed, 52 deletions(-) delete mode 100644 debian/patches/fix-libpager-notify-lookups.patch (limited to 'debian/patches') diff --git a/debian/patches/fix-libpager-notify-lookups.patch b/debian/patches/fix-libpager-notify-lookups.patch deleted file mode 100644 index 74cd92e5..00000000 --- a/debian/patches/fix-libpager-notify-lookups.patch +++ /dev/null @@ -1,50 +0,0 @@ -commit f1aa15a509d4249b19bb3d7f1f388829dd5135f8 -Author: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Tue Apr 15 13:54:19 2014 +0200 - - libpager: fix notify_port_t receiver lookups - - This fixes one more occurence of a notify_port_t receiver lookup that - I overlooked in 5a4926dd52aed56913cbe10592063ff0da753700. - - * libpager/no-senders.c: Include "notify_S.h" so that the compiler can - spot such mistakes in the future. - (_pager_do_seqnos_mach_notify_no_senders): Fix receiver lookup. - -diff --git a/libpager/no-senders.c b/libpager/no-senders.c -index 83a2c88..c21dfc2 100644 ---- a/libpager/no-senders.c -+++ b/libpager/no-senders.c -@@ -18,24 +18,19 @@ - - #include "priv.h" - #include -+#include "notify_S.h" - - error_t --_pager_do_seqnos_mach_notify_no_senders (mach_port_t notify, -+_pager_do_seqnos_mach_notify_no_senders (struct port_info *pi, - mach_port_seqno_t seqno, - mach_port_mscount_t mscount) - { -- struct pager *p = ports_lookup_port (0, notify, _pager_class); -- -- if (!p) -+ if (!pi || -+ pi->class != _pager_class) - return EOPNOTSUPP; -- -- pthread_mutex_lock (&p->interlock); -- _pager_wait_for_seqno (p, seqno); -- _pager_release_seqno (p, seqno); -- pthread_mutex_unlock (&p->interlock); -- -- ports_no_senders (p, mscount); -- -- ports_port_deref (p); -+ -+ _pager_update_seqno_p ((struct pager *) pi, seqno); -+ ports_no_senders (pi, mscount); -+ - return 0; - } diff --git a/debian/patches/series b/debian/patches/series index 248ebaaf..65769bfb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -42,5 +42,3 @@ xkb-compat.patch xxx-fix-build.patch mach-defpager-protected-payload.patch #ext2fs-skip-unallocated-blocks.patch - -fix-libpager-notify-lookups.patch -- cgit v1.2.3