# Fix incorrect continue condition in PreopeonList · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/eea7271c4e9d56e9c0fadcaac0ffef54ad786bf8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: eea7271c4e9d56e9c0fadcaac0ffef54ad786bf8

Requested commit: eea7271c4e9d56e9c0fadcaac0ffef54ad786bf8

Commit: eea7271c4e9d56e9c0fadcaac0ffef54ad786bf8

Tree: 55b5a649eae827d2c3d5d616418b4f67765721ed

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
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.

```

## Parents

- [e1a5e061ca7897ce6e08b724d517a83ae439bf41](https://git.cafe/gitcafe/zig/commit/e1a5e061ca7897ce6e08b724d517a83ae439bf41?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/eea7271c4e9d56e9c0fadcaac0ffef54ad786bf8?format=markdown)
