diff options
| author | Kartik Naik <kartik@bugqore.com> | 2026-08-10 18:13:42 +0530 |
|---|---|---|
| committer | Kartik Naik <kartik@bugqore.com> | 2026-08-11 11:58:00 +0530 |
| commit | 05b343edd8581d797522051f1e903063429d6601 (patch) | |
| tree | 313317be940a75ca2abcb188725d927b34fbdfe4 /include/compat/sys/queue.h | |
| parent | 2aaf4dbee62926f4b3149d2fd6e2d40b2f6e1dd0 (diff) | |
| download | portable-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 'include/compat/sys/queue.h')
0 files changed, 0 insertions, 0 deletions
