Repository navigation
Conversation
It syncs Windows builds with each other. Before this patch autotools mingw-w64 2.0.0 and later builds detected and used fseeko(). Cmake did not with the same toolchain. Another solution is to enable the fseeko check for mingw-w64 in cmake, but its and extra check and it's also non-trivial to figure out what fseeko gets translated to at the end and if it has proper 64-bit always. It's PPd to this in local tests with mingw-w64 12.0.0: ``` fseeko64(stream, (off_t)offset, whence); ```
Contributor
|
Analysis of PR #14678 at a88c48ab: Test 284 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 283 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 285 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 286 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 332 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 334 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 1007 failed, which has NOT been flaky recently, so there could be a real issue in the PR. There are more failures, but that's enough from Gha. Generated by Testclutch |
vszakats
force-pushed
the
gha-configure-vs-cmake-windows
branch
from
August 25, 2024 15:56
958ddc9 to
21d52c4
Compare
13 tasks done
This was referenced Nov 8, 2024
vszakats
added a commit
that referenced
this pull request
Nov 11, 2024
A recent update caused CMake builds to mis-detect this symbol on iOS. Auto-detection also seems redundant given that it's a Windows-only function and most Windows builds were already opted-in. Drop detections and use it in all Windows builds with large file support enabled. Feature history: - pririotizing for Windows: aaacd02 #14678 - Windows opt-in cmake: 8e74c07 #11950 - Windows opt-in: aa6c94c #11944 - use in libcurl: 9c7165e #11918 - use in example: 817d1c0 Regression from 8e34505 #15164 Reported-by: Maarten Billemont Fixes #15525 Closes #15526
vszakats
added a commit
to vszakats/curl
that referenced
this pull request
Jan 17, 2025
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
A recent update caused CMake builds to mis-detect this symbol on iOS. Auto-detection also seems redundant given that it's a Windows-only function and most Windows builds were already opted-in. Drop detections and use it in all Windows builds with large file support enabled. Feature history: - pririotizing for Windows: aaacd02 curl#14678 - Windows opt-in cmake: 8e74c07 curl#11950 - Windows opt-in: aa6c94c curl#11944 - use in libcurl: 9c7165e curl#11918 - use in example: 817d1c0 Regression from 8e34505 curl#15164 Reported-by: Maarten Billemont Fixes curl#15525 Closes curl#15526
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fseeko()on Windows.(It exists in mingw-w64 2.0.0 and newer, but it's permanently ignored
in CMake, as this function is never necessary on Windows.)
lib/formdata.c: prioritize_fseeki64()overfseeko().To reduce the difference between Windows builds, which now all use
_fseeki64().HAVE_DIRENT_HandHAVE_OPENDIRfor mingw-w64,to match configure.
Follow-up to bfe54b0 file:// : Allow getting basic directory listings #13137
This in theory could make the dir listing feature work in mingw-w64
build, but in my tests (on WINE) it failed at the preceding
open()call.
HAVE_STRINGS_HandHAVE_UTIME_Hfor mingw-w64,to match configure. (They are wrappers and make no difference in the build.)
Also:
USE_MANUALmacro with cmake, by only setting it forsrc. Drop checker exception.--disable-dependency-trackingin existing jobs.