packages feed

directory 1.3.1.4 → 1.3.1.5

raw patch · 5 files changed

+42/−31 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

System/Directory/Internal/Windows.hsc view
@@ -12,7 +12,7 @@ #include <shlobj.h> #include <windows.h> #include <System/Directory/Internal/utility.h>-#include <System/Directory/Internal/windows.h>+#include <System/Directory/Internal/windows_ext.h> import Prelude () import System.Directory.Internal.Prelude import System.Directory.Internal.Common
− System/Directory/Internal/windows.h
@@ -1,29 +0,0 @@-#include <windows.h>--// define prototype to get size, offsets, and alignments-// (can't include <ntifs.h> because that only exists in WDK)-typedef struct {-    ULONG ReparseTag;-    USHORT ReparseDataLength;-    USHORT Reserved;-    union {-        struct {-            USHORT SubstituteNameOffset;-            USHORT SubstituteNameLength;-            USHORT PrintNameOffset;-            USHORT PrintNameLength;-            ULONG Flags;-            WCHAR PathBuffer[1];-        } SymbolicLinkReparseBuffer;-        struct {-            USHORT SubstituteNameOffset;-            USHORT SubstituteNameLength;-            USHORT PrintNameOffset;-            USHORT PrintNameLength;-            WCHAR PathBuffer[1];-        } MountPointReparseBuffer;-        struct {-            UCHAR DataBuffer[1];-        } GenericReparseBuffer;-    };-} HsDirectory_REPARSE_DATA_BUFFER;
+ System/Directory/Internal/windows_ext.h view
@@ -0,0 +1,33 @@+#ifndef HS_DIRECTORY_WINDOWS_EXT_H+#define HS_DIRECTORY_WINDOWS_EXT_H+#include <windows.h>++// define prototype to get size, offsets, and alignments+// (can't include <ntifs.h> because that only exists in WDK)+typedef struct {+    ULONG ReparseTag;+    USHORT ReparseDataLength;+    USHORT Reserved;+    union {+        struct {+            USHORT SubstituteNameOffset;+            USHORT SubstituteNameLength;+            USHORT PrintNameOffset;+            USHORT PrintNameLength;+            ULONG Flags;+            WCHAR PathBuffer[1];+        } SymbolicLinkReparseBuffer;+        struct {+            USHORT SubstituteNameOffset;+            USHORT SubstituteNameLength;+            USHORT PrintNameOffset;+            USHORT PrintNameLength;+            WCHAR PathBuffer[1];+        } MountPointReparseBuffer;+        struct {+            UCHAR DataBuffer[1];+        } GenericReparseBuffer;+    };+} HsDirectory_REPARSE_DATA_BUFFER;++#endif
changelog.md view
@@ -1,9 +1,15 @@ Changelog for the [`directory`][1] package ========================================== +## 1.3.1.5 (October 2017)++  * Rename the internal header `windows.h` to avoid GHC#14312.+    ([#77](https://github.com/haskell/directory/issues/77))+ ## 1.3.1.4 (September 2017)    * Fix `Win32` version 2.6 compatibility.+    ([#75](https://github.com/haskell/directory/pull/75))  ## 1.3.1.3 (September 2017) @@ -12,6 +18,7 @@ ## 1.3.1.2 (September 2017)    * Relax `base` version bounds to support 4.11.+    ([#74](https://github.com/haskell/directory/pull/74))  ## 1.3.1.1 (March 2017) 
directory.cabal view
@@ -1,5 +1,5 @@ name:           directory-version:        1.3.1.4+version:        1.3.1.5 -- NOTE: Don't forget to update ./changelog.md license:        BSD3 license-file:   LICENSE