# macho: set and reset file offset to zerofill sections in flush · gitcafe/zig

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

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

Visibility: public

Requested revision: 81e5320973e8cffd585f240b20321e6afc15e8f9

Requested commit: 81e5320973e8cffd585f240b20321e6afc15e8f9

Commit: 81e5320973e8cffd585f240b20321e6afc15e8f9

Tree: 29aa5bd951549b135cea233fe8ed3bd8997a6170

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: set and reset file offset to zerofill sections in flush

This way, there's no need to special the set/reset behaviour at
every stage of updating sections/atoms.

```

## Parents

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

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