Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-06-20 Thread pali.ro...@gmail.com
And next I wrote: "So for 64-bit msvcrt.dll builds it would be needed to provide mingw-w64 emulation of that function." "I will prepare a change for it and send to the list." And I have not prepared it yet. Please give me some time. time_t type is always 64-bit on UCRT. On msvcrt is can be 3

Re: [Mingw-w64-public] [PATCH 02/10] crt: Define fseeko and ftello symbols as aliases to fseek and ftell

2025-06-20 Thread Pali Rohár
On Thursday 19 June 2025 20:52:59 Martin Storsjö wrote: > On Sun, 15 Jun 2025, Pali Rohár wrote: > > > Both msvcrt and UCRT ABI uses for off_t-based function without any suffix > > in their name the 32-bit long off_t type for both 32-bit and 64-bit > > architectures. > > The non-English word orde

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-06-20 Thread Kirill Makurin
``` But here were are talking about the _fstat32() function which takes _time32_t type and this type is available on all builds. ``` Yes. What I wanted to point out is that it would be good to make sure that proper emulation (if required) is provided for all _[f}stat* functions which take 32-bit

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-06-20 Thread Kirill Makurin
Oh, my bad here. The _[f]stat*32 symbols first appeared in msvcr80.dll, they apparently never were in msvcrt.dll. I probably wasn't clear with my phrasing in my first reply. What I wanted to say, is the fact that _[f]stat*32 symbols are not provided by msvcrt.dll taken into account? (other than

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-06-20 Thread LIU Hao
在 2025-6-20 19:33, Kirill Makurin 写道: I unfortunately do not have a 32-bit msvcrt.dll to check, but listing symbols from msvcrt.dll in C:/ Windows/SysWOW64 directory also is missing _[f]stat*32 symbols. It would be good if someone could check 32-bit version of msvcrt.dll on different Windows v

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-06-20 Thread Kirill Makurin
I unfortunately do not have a 32-bit msvcrt.dll to check, but listing symbols from msvcrt.dll in C:/Windows/SysWOW64 directory also is missing _[f]stat*32 symbols. It would be good if someone could check 32-bit version of msvcrt.dll on different Windows versions. - Kirill Makurin

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-06-20 Thread LIU Hao
在 2025-6-20 16:46, Kirill Makurin 写道: Running `grep _f*stat` on list of symbols I get from `dumpbin -exports msvcrt.dll` (Windows 11) I get the following: ``` _fstat _fstat64 _fstati64 _stat _stat64 _stati64 ``` It seems there is also no real _[f]stati32 and _[f]stat64i32 symbols. Are they ta

Re: [Mingw-w64-public] [PATCH v2 00/13] Fix stat functions

2025-06-20 Thread Kirill Makurin
Running `grep _f*stat` on list of symbols I get from `dumpbin -exports msvcrt.dll` (Windows 11) I get the following: ``` _fstat _fstat64 _fstati64 _stat _stat64 _stati64 ``` It seems there is also no real _[f]stati32 and _[f]stat64i32 symbols. Are they taken care of? - Kirill Makurin