Repository navigation
Conversation
Detecting `_fseeki64` can be tricky, but also seems redundant given that it's Windows-only and we already opt-in all Windows builds to use it (in CMake). Drop detections and use it in all Windows builds with large file support enabled. Regression-from: 8e34505 curl#15164 Reported-by: Maarten Billemont Fixes curl#15525
bagder
approved these changes
Nov 8, 2024
vszakats
added a commit
that referenced
this pull request
Jan 12, 2025
Large file support requires `_fseeki64()`. This function is offered in VS2005 and upper. VS2003 has it in the static CRT only, with declaration missing from headers, so it's not usable. Ref: https://archive.org/details/X10-38445 (MS Visual Studio .NET 2003) Ref: 8b76a8a #15526 Closes #15958
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
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
Large file support requires `_fseeki64()`. This function is offered in VS2005 and upper. VS2003 has it in the static CRT only, with declaration missing from headers, so it's not usable. Ref: https://archive.org/details/X10-38445 (MS Visual Studio .NET 2003) Ref: 8b76a8a curl#15526 Closes curl#15958
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.
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:
_fseeki64and nofseekoon Windows #11950Regression from 8e34505 #15164
Reported-by: Maarten Billemont
Fixes #15525