Browse Source
This commit updates the semantics of `fd_{seek,tell}` on preview1 to match native Unix when used with appending files. On Unix `write` claims to always update the file position pointer to the end of the file, so this commit implements that instead of the previous logic of ignoring the position update for appending files. This currently requires an extra roundtrip via `stat` to figure out the size of the file, but for now that seems to be the best that can be done. Closes #7583pull/7591/head
Alex Crichton
12 months ago
committed by
GitHub
3 changed files with 62 additions and 7 deletions
Loading…
Reference in new issue