# std.Build: fix invalid assumption about fifos · gitcafe/zig

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

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

Visibility: public

Requested revision: 4aa5895d322c58cfa654e890beccc1009d49c6e5

Requested commit: 4aa5895d322c58cfa654e890beccc1009d49c6e5

Commit: 4aa5895d322c58cfa654e890beccc1009d49c6e5

Tree: ddd3ff7b8cb424544beb4237df45aa0165b061c9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Build: fix invalid assumption about fifos

Previously this code asserted that a fifo's readable length was greater
than or equal to the length of its readable slice, which was an invalid
assertion.

This code avoids making that assumption.

```

## Parents

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

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