File: 07-fix_dead_lock.patch

package info (click to toggle)
libinstpatch 1.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,168 kB
  • sloc: ansic: 37,958; sh: 10,747; makefile: 357; python: 27
file content (18 lines) | stat: -rw-r--r-- 616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix dead lock.
Author: Joël Krähemann <jkraehemann@gmail.com>
Bug-Debian: http://bugs.debian.org/807823
Forwarded: Joshua Element Green <jgreen@users.sourceforge.net>

Index: libinstpatch/libinstpatch/IpatchBase.c
===================================================================
--- libinstpatch.orig/libinstpatch/IpatchBase.c
+++ libinstpatch/libinstpatch/IpatchBase.c
@@ -231,7 +231,7 @@ ipatch_base_get_file (IpatchBase *base)
   IPATCH_ITEM_RLOCK (base);
   file = base->file;
   if (file) g_object_ref (file);
-  IPATCH_ITEM_RLOCK (base);
+  IPATCH_ITEM_RUNLOCK (base);
 
   return (file);
 }