diff --git a/CHANGES.md b/CHANGES.md
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,3 +1,13 @@
+# 1.6.0.1
+
+_Andreas Abel, 2023-09-11_
+
+- Repair build on Windows with GHC 9.6 (`directory-1.3.8.*`):
+  Revoke `Safe` status of these modules:
+  * `System.IO.WindowsCompat`
+  * `System.IO.PlafCompat`
+- Tested with GHC 7.10 - 9.8 alpha1.
+
 # 1.6.0.0
 
 _Andreas Abel, 2023-01-14_
diff --git a/MissingH.cabal b/MissingH.cabal
--- a/MissingH.cabal
+++ b/MissingH.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 name: MissingH
-version: 1.6.0.0
+version: 1.6.0.1
 
 build-type: Simple
 license: BSD3
@@ -10,8 +10,10 @@
 license-file: LICENSE
 
 tested-with:
-  GHC == 9.4.4
-  GHC == 9.2.5
+  GHC == 9.8.0
+  GHC == 9.6.2
+  GHC == 9.4.7
+  GHC == 9.2.8
   GHC == 9.0.2
   GHC == 8.10.7
   GHC == 8.8.4
diff --git a/src/System/IO/PlafCompat.hs b/src/System/IO/PlafCompat.hs
--- a/src/System/IO/PlafCompat.hs
+++ b/src/System/IO/PlafCompat.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE CPP  #-}
-{-# LANGUAGE Safe #-}
+
 {- Platform Compatibility Layer
 Copyright (c) 2005-2011 John Goerzen <jgoerzen@complete.org>
 
diff --git a/src/System/IO/WindowsCompat.hs b/src/System/IO/WindowsCompat.hs
--- a/src/System/IO/WindowsCompat.hs
+++ b/src/System/IO/WindowsCompat.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE CPP #-}
-{-# LANGUAGE Safe #-}
+
 {- Windows compatibility layer
 Copyright (c) 2005-2011 John Goerzen <jgoerzen@complete.org>
 
diff --git a/testsrc/Strtest.hs b/testsrc/Strtest.hs
--- a/testsrc/Strtest.hs
+++ b/testsrc/Strtest.hs
@@ -55,13 +55,13 @@
 test_escapeRe =
     map (\i -> TestLabel (show $ chr i) $ TestCase $ assertEqual [chr i] (Just [])
                 (matchRegex (mkRegex $ escapeRe $ [chr i]) [chr i]))
-             [1..255]
+             [1..127]
     ++
     [TestCase $ assertEqual "big string"
                      (Just ([], teststr, [], []))
                      (matchRegexAll (mkRegex $ escapeRe teststr) teststr)
     ]
-    where teststr = map chr [1..255]
+    where teststr = map chr [1..127]
 
 tests = TestList [TestLabel "lstrip" (TestList test_lstrip),
                   TestLabel "rstrip" $ TestList test_rstrip,
@@ -69,4 +69,3 @@
                   TestLabel "splitWs" $ TestList test_splitWs,
                   TestLabel "escapeRe" $ TestList test_escapeRe
                   ]
-
