summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-04-28 07:32:07 +0000
committerTorsten Veller <tove@gentoo.org>2009-04-28 07:32:07 +0000
commit76044953bdc66a38b7392dfeb63a5a21b7ca4d79 (patch)
tree99531b672260ee71cf423396228009013230bbb4 /net-libs/liblockfile/files
parentMinor cleanup and proper keywording (diff)
downloadgentoo-2-76044953bdc66a38b7392dfeb63a5a21b7ca4d79.tar.gz
gentoo-2-76044953bdc66a38b7392dfeb63a5a21b7ca4d79.tar.bz2
gentoo-2-76044953bdc66a38b7392dfeb63a5a21b7ca4d79.zip
Version bump. Thanks Peter Alfredsen (#218619)
(Portage version: 2.2_rc31/cvs/Linux i686)
Diffstat (limited to 'net-libs/liblockfile/files')
-rw-r--r--net-libs/liblockfile/files/1.08-stale_lock.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-libs/liblockfile/files/1.08-stale_lock.patch b/net-libs/liblockfile/files/1.08-stale_lock.patch
new file mode 100644
index 000000000000..c64c52599e8d
--- /dev/null
+++ b/net-libs/liblockfile/files/1.08-stale_lock.patch
@@ -0,0 +1,20 @@
+http://bugs.debian.org/505851
+--- liblockfile-1.08.orig/lockfile.c
++++ liblockfile-1.08/lockfile.c
+@@ -391,13 +391,10 @@
+ * Without a pid in the lockfile, the lock
+ * is valid if it is newer than 5 mins.
+ */
+-#if 0
++
+ if (now < st.st_mtime + 300)
+ return 0;
+-#else
+- if (now < st.st_mtime + 10)
+- return 0;
+-#endif
++
+ return -1;
+ }
+
+