summaryrefslogtreecommitdiff
blob: c64c52599e8dc8ea8686da399396f85c1f513404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
 }