On 2025-02-24 Lasse Collin wrote:
> I attached a patch to the new dirent.

And now fixed a copypaste error. :-|

-- 
Lasse Collin
From 7626a912b2d95a090e401b311ec9a3edf771aed7 Mon Sep 17 00:00:00 2001
From: Lasse Collin <lasse.col...@tukaani.org>
Date: Mon, 24 Feb 2025 17:35:03 +0200
Subject: [PATCH] ... Fix copypaste error

---
 mingw-w64-crt/misc/dirent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-crt/misc/dirent.c b/mingw-w64-crt/misc/dirent.c
index ffea4adc7..99aaa9d92 100644
--- a/mingw-w64-crt/misc/dirent.c
+++ b/mingw-w64-crt/misc/dirent.c
@@ -342,7 +342,7 @@ _wopendir (const wchar_t *path)
 
          case ERROR_CALL_NOT_IMPLEMENTED:
            /* We might get here if GetFullPathNameW wasn't called. */
-           errno = ENOSYS;
+           err = ENOSYS;
            return NULL;
 
          default:
-- 
2.48.1

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to