Commit ac25fe4
committed
libpsl: patch to reference the Windows-native
Upstream should fix this issue.
I consider this a libpsl portability issue that came to the surface
when mingw-w64 13 reshuffled its POSIX stat functions, by redirecting them
to intrinsics which are missing from earlier mingw-w64 versions. Thus
making binaries build with mingw-w64 v13 incompatible with v12.
Libraries may be better off calling the native Windows stat functions
listed here:
https://learn.microsoft.com/cpp/c-runtime-library/reference/stat-functions
LibreSSL also references the POSIX stat on Windows from its
`RAND_write_file()` API, causing the same issue, but curl doesn't call
this function, and thus isn't causing an actual issue in this use-case.
Reported-by: Morten / Mac-Fly
Reported-by: JackCarterSmith
Bug: https://curl.se/mail/lib-2025-10/0007.html
Fixes curl/curl#19516
Follow-up to add9e25stat [ci skip]1 parent 27fe69e commit ac25fe4
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
0 commit comments