From: Joey Hess Date: Wed, 25 Nov 2020 10:24:49 +0000 (-0400) Subject: fix build on windows X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~102^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d15c2d9ed39ed4a5f9903f8c94fe7234457cba73;p=git-annex.git fix build on windows --- diff --git a/Annex/Content/Presence.hs b/Annex/Content/Presence.hs index 4b33bcefb2..05ff5715e1 100644 --- a/Annex/Content/Presence.hs +++ b/Annex/Content/Presence.hs @@ -119,7 +119,7 @@ inAnnexSafe key = inAnnex' (fromMaybe True) (Just False) go key Nothing -> return is_locked Just lockhandle -> do dropLock lockhandle - void $ tryIO $ removeWhenExistsWith removeLink (fromRawFilePath lockfile) + void $ tryIO $ removeWhenExistsWith R.removeLink lockfile return is_unlocked , return is_missing )