replace guessed win32 version with actual version 2.13.4.0
authorJoey Hess <joeyh@joeyh.name>
Wed, 9 Nov 2022 17:08:27 +0000 (13:08 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 9 Nov 2022 17:08:27 +0000 (13:08 -0400)
Utility/LockFile/Windows.hs
git-annex.cabal

index 6985f408cfa298f74c0fbe4a096b9067a859cdf6..7a601c899c9373e69675724a2729f0a6d2d39495 100644 (file)
@@ -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)
index 3d96e49f5c7f16e77cf8d1a32df6cc0ffe683c89..cd58a4ca3a53ba1206d7d55b345faf36f732c26e 100644 (file)
@@ -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)