On Mon, 20 Oct 2025, Martin Storsjö wrote:
On Mon, 20 Oct 2025, Martin Storsjö wrote:
On Sun, 5 Oct 2025, Pali Rohár wrote:
Pali Rohár (8):
crt: Define ftruncate symbol via alias in crt-aliases.def.in
headers: Simplify ftruncate* and truncate* declaration
headers: Remove inline ftruncate() definition
crt: Provide ftruncate64 function via wrapper around native CRT
function _chsize_s
crt: Provide emulation of _telli64 function for crtdll.dll and
msvcrt10.dll
crt: Disable free space check in mingw-w64 ftruncate64 function
headers: Use _FILE_OFFSET_BITS == 64 also for 64-bit truncate
definition
crt: Split truncate64 implementation into its own file
Other than the mentioned issues (commit message, unnecessary #ifdef block,
code removal instead of #if 0), this patchset seems fine. Plus some earlier
mentioned issues with msvcr80plus_ftruncate64.c which was missing in
Makefile.am.
It might be nicer with a full re-send of a version of this with all the
mentioned fixes in one.
After following up on the other discussion points here, I think this patchset
may be fine as such and won't need a full re-send. In that case I can
probably push it tomorrow.
Pushed now.
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public