2023-01-21 20:37:50

by Eric Biggers

[permalink] [raw]
Subject: [PATCH 01/38] configure.ac: only use Windows I/O manager on native Windows

From: Eric Biggers <[email protected]>

Cygwin and MSYS2 are UNIX-compatible platforms on top of Windows, so
they should use the UNIX I/O manager, not the Windows I/O manager.

(Note that "cygwin" was misspelled as "cigwin", so the code did not have
the intended effect anyway.)

Fixes: d1d44c146a5e ("ext2fs: compile the io implementation according to os")
Signed-off-by: Eric Biggers <[email protected]>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 78f71fd8e..5f440f1fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1826,7 +1826,7 @@ dnl Adjust the compiled files if we are on windows vs everywhere else
dnl
OS_IO_FILE=""
[case "$host_os" in
- cigwin*|mingw*|msys*)
+ mingw*)
OS_IO_FILE=windows_io
;;
*)
--
2.39.0