From a10ce47f54a5c57292d11faec14e398f11b7ae4f Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sun, 23 Mar 2014 08:59:45 -0700 Subject: Consolidate syscall files. --- syscall.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 syscall.go (limited to 'syscall.go') diff --git a/syscall.go b/syscall.go new file mode 100644 index 0000000..c3a1bb5 --- /dev/null +++ b/syscall.go @@ -0,0 +1,9 @@ +// +build !linux + +package bolt + +import "os" + +func fdatasync(f *os.File) error { + return f.Sync() +} -- cgit v1.2.3