# fix: std.fs.File.Writer.seekTo does not flush \(\#25135\) · gitcafe/zig

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

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

Visibility: public

Requested revision: b1189ab038ad1885f961562bf188f0bd3da12153

Requested commit: b1189ab038ad1885f961562bf188f0bd3da12153

Commit: b1189ab038ad1885f961562bf188f0bd3da12153

Tree: 6cd6f6c77a0de4942f0ccacb06844bf422e02057

Author: Josh GM Walker

Committer: GitHub

## Message

```
fix: std.fs.File.Writer.seekTo does not flush (#25135)

* add failing test case
* perform flush and allow error
* dont over constrain flush error
* reset seek error during conversion
```

## Parents

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

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