From 666312f63f0ebf6a4f3c104ae38c463961dc40a3 Mon Sep 17 00:00:00 2001 From: Achille Roussel Date: Mon, 1 May 2023 22:18:10 +0000 Subject: [PATCH] implement Sync on stdioFileHandle Signed-off-by: Achille Roussel --- src/os/file_other.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/os/file_other.go b/src/os/file_other.go index 7e4642c0..4b8d0b76 100644 --- a/src/os/file_other.go +++ b/src/os/file_other.go @@ -91,6 +91,10 @@ func (f stdioFileHandle) Seek(offset int64, whence int) (int64, error) { return -1, ErrUnsupported } +func (f stdioFileHandle) Sync() error { + return ErrUnsupported +} + func (f stdioFileHandle) Fd() uintptr { return uintptr(f) }