aboutsummaryrefslogtreecommitdiff
path: root/.github/scripts
diff options
context:
space:
mode:
authorKartik Naik <kartik@bugqore.com>2026-08-10 18:13:42 +0530
committerKartik Naik <kartik@bugqore.com>2026-08-11 11:58:00 +0530
commit05b343edd8581d797522051f1e903063429d6601 (patch)
tree313317be940a75ca2abcb188725d927b34fbdfe4 /.github/scripts
parent2aaf4dbee62926f4b3149d2fd6e2d40b2f6e1dd0 (diff)
downloadportable-05b343edd8581d797522051f1e903063429d6601.tar.gz
portable-05b343edd8581d797522051f1e903063429d6601.tar.bz2
portable-05b343edd8581d797522051f1e903063429d6601.zip
merge the ftruncate shim into posix_win.c
ftruncate was the only fd shim that passed its descriptor to the CRT without stripping the posix_open() tag bit, so _chsize() rejected the negative fd with EBADF and the truncation failed. Move the shim into posix_win.c so it can use get_real_fd() like fstat, close, read and write, and drop the build glue for the separate ftruncate.c.
Diffstat (limited to '.github/scripts')
0 files changed, 0 insertions, 0 deletions