Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Sys.hx
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ private class FileOutput extends haxe.io.Output {
Fs.writeSync(fd, s);
}

override public function flush() {
Fs.fsyncSync(fd);
}
// No flush override: writeSync already hands the bytes to the kernel, so
// nothing is buffered. fsync is not flush, and it returns EINVAL on a
// pipe or a terminal.

override public function close() {
Fs.closeSync(fd);
Expand Down
Loading