From 2eedf58630b5ec8c8ab50c05431f6a84bc949950 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 9 Nov 2022 13:08:27 -0400 Subject: [PATCH] replace guessed win32 version with actual version 2.13.4.0 --- Utility/LockFile/Windows.hs | 2 +- git-annex.cabal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Utility/LockFile/Windows.hs b/Utility/LockFile/Windows.hs index 6985f408cf..7a601c899c 100644 --- a/Utility/LockFile/Windows.hs +++ b/Utility/LockFile/Windows.hs @@ -61,7 +61,7 @@ lockExclusive = openLock fILE_SHARE_NONE openLock :: ShareMode -> LockFile -> IO (Maybe LockHandle) openLock sharemode f = do f' <- convertToNativeNamespace f -#if MIN_VERSION_Win32(2,13,3) +#if MIN_VERSION_Win32(2,13,4) r <- tryNonAsync $ createFile_NoRetry f' gENERIC_READ sharemode security_attributes oPEN_ALWAYS fILE_ATTRIBUTE_NORMAL (maybePtr Nothing) diff --git a/git-annex.cabal b/git-annex.cabal index 3d96e49f5c..cd58a4ca3a 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -416,7 +416,7 @@ Executable git-annex if (os(windows)) Build-Depends: - Win32 ((>= 2.6.1.0 && < 2.12.0.0) || >= 2.13.3.1), + Win32 ((>= 2.6.1.0 && < 2.12.0.0) || >= 2.13.4.0), setenv, process (>= 1.6.2.0), silently (>= 1.2.5.1) -- 2.30.2