Improve emulated functions and add new tests.
Pali Rohár (8):
crt: Improve mingw-w64 emulation of _lseeki64 function
crt: Add new t_lseeki64 test
crt: Improve mingw-w64 emulation of 64-bit fsetpos function
crt: Implement overflow check in mingw-w64 emulation of fgetpos
function
crt: Add new t_fseeki64 test
crt: Add new t_fseeki64_ftelli64 test
crt: Check for fseeko and fread errors in t_fseeko64 test
crt: Do not use wide functions in t_fseeko64 test
mingw-w64-crt/stdio/_lseeki64.c | 51 ++++++-
mingw-w64-crt/stdio/fgetpos.c | 48 ++++++-
mingw-w64-crt/stdio/fsetpos.c | 28 ++--
mingw-w64-crt/testcases/Makefile.am | 3 +
mingw-w64-crt/testcases/t_fseeki64.c | 128 ++++++++++++++++++
mingw-w64-crt/testcases/t_fseeki64_ftelli64.c | 41 ++++++
mingw-w64-crt/testcases/t_fseeko64.c | 39 ++++--
mingw-w64-crt/testcases/t_lseeki64.c | 40 ++++++
8 files changed, 353 insertions(+), 25 deletions(-)
create mode 100644 mingw-w64-crt/testcases/t_fseeki64.c
create mode 100644 mingw-w64-crt/testcases/t_fseeki64_ftelli64.c
create mode 100644 mingw-w64-crt/testcases/t_lseeki64.c
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public