Change #262475
| Category | curl |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Fri 27 Mar 2026 08:05:48 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 6041b9b11b904c64305eb6c3f456b83288c1f323 |
Comments
src: use ftruncate() unconditionally Systems without it need to provide a custom alternative just like we have have for Windows. This adds an MSDOS version that fails if trying to truncate a too large file. Closes #21109
Changed files
- src/tool_cb_hdr.c
- src/tool_operate.c
- src/tool_setup.h
- src/tool_util.c