mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
the linux syscall treats this argument as having type int, so passing extremely long buffer sizes would be misinterpreted by the kernel. since "short reads" are always acceptable, just cap it down. patch based on musl commit 3d178a7e2b75066593fbd5705742c5808395d90d
924 lines
34 KiB
924 lines
34 KiB