From cd9fd6e28c9b88e137df8dd4440e9e91a1818513 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 4 Aug 2022 12:17:27 -0400 Subject: [PATCH] fix case of Win32 --- Utility/LockFile/Windows.hs | 2 +- .../comment_7_91c17601eed0936bab17cdf9ec5f3ecb._comment | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 doc/todo/windows__58___prepare_for_Win32_not_export_c__95___entities/comment_7_91c17601eed0936bab17cdf9ec5f3ecb._comment diff --git a/Utility/LockFile/Windows.hs b/Utility/LockFile/Windows.hs index 9ec34c9a79..6985f408cf 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,3) r <- tryNonAsync $ createFile_NoRetry f' gENERIC_READ sharemode security_attributes oPEN_ALWAYS fILE_ATTRIBUTE_NORMAL (maybePtr Nothing) diff --git a/doc/todo/windows__58___prepare_for_Win32_not_export_c__95___entities/comment_7_91c17601eed0936bab17cdf9ec5f3ecb._comment b/doc/todo/windows__58___prepare_for_Win32_not_export_c__95___entities/comment_7_91c17601eed0936bab17cdf9ec5f3ecb._comment new file mode 100644 index 0000000000..24bf69ed23 --- /dev/null +++ b/doc/todo/windows__58___prepare_for_Win32_not_export_c__95___entities/comment_7_91c17601eed0936bab17cdf9ec5f3ecb._comment @@ -0,0 +1,7 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 7""" + date="2022-08-04T16:16:59Z" + content=""" +Ah yes, case-sensativity urk. Thanks, fixed. +"""]]