mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Fix incorrect continue condition in PreopeonList
Also, check for overflow on incremented file descriptors. Previously, we'd trigger a panic if we exceeded the `fd_t` resolution. Now, instead, we throw an `error.Overflow` to signal that there can be no more file descriptors available from the runtime. This way we give the user the ability to still be able to check if their desired preopen exists in the list or not.
This commit is contained in:
parent
e1a5e061ca
commit
eea7271c4e
1 changed files with 10 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue