From c1fb4a5e205689d1b2dca5a7c52dd9643502ad40 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 22 Mar 2008 18:37:51 +0100 Subject: [PATCH] file_is_locked: return true when flock() is undefined --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 958f137d..de546483 100644 --- a/functions.php +++ b/functions.php @@ -1957,7 +1957,7 @@ return true; } } - return false; + return true; // consider the file always locked and skip the test } function make_lockfile($filename) { -- 2.39.5