Skip to content

Conversation

@guberathome
Copy link
Contributor

This fixes #189 .

Since we were already through the looking glass anyway (by putting NetBSD specific code into /csrc/stdio/pf_fileio_stdio.c)
and Cygwin stil did not work, the cleaner solution was to implement TruncateFile via Unix-API.

This was tested (make clean test) on Cygwin/MSYS2, FreeBSD, NetBSD, Linux/Manjaro.

Copy link
Owner

@philburk philburk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. This is a bit tricky but it seems right.

@philburk philburk merged commit bb721e5 into philburk:master Jan 21, 2025
3 checks passed
@guberathome guberathome deleted the unix-resize-file branch January 22, 2025 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RESIZE-FILE test fails on MSYS2/Cygwin

2 participants