# wasm: temporarily save curr file pointer before pwriting on Win · gitcafe/zig

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

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

Visibility: public

Requested revision: 0ae2ea671b867e5ecd0bc779405c175f33316559

Requested commit: 0ae2ea671b867e5ecd0bc779405c175f33316559

Commit: 0ae2ea671b867e5ecd0bc779405c175f33316559

Tree: be04082be44611973aa36b4d4ebaa260f310d6d9

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
wasm: temporarily save curr file pointer before pwriting on Win

This is a temporary workaround to an unclear platform-dependence
behavior we have in libstd for `std.fs.File` abstraction. See
https://github.com/ziglang/zig/issues/12783 for more information.

```

## Parents

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

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