# fix cache hash regression · gitcafe/zig

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

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

Visibility: public

Requested revision: 2f96c55095514de35a25ec2cf84a79e6c5e3a646

Requested commit: 2f96c55095514de35a25ec2cf84a79e6c5e3a646

Commit: 2f96c55095514de35a25ec2cf84a79e6c5e3a646

Tree: 705ed5cf6409958a6f78c4a4e33e2d54fe90233a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix cache hash regression

fixes "warning: unexpected seek failure"

fix regression introduced by 27e31f04758d95cb7cf51a74e2a3903553ce3bc5

the fd should be closed only if returning with an error

```

## Parents

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

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