mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 07:52:28 +00:00
b5b3bc34da
Direct syscalls using syscall.Syscall(SYS_*, ...) should no longer be used on darwin, see [1]. Instead, use the FcntlFstore libSystem wrapper provided by the golang.org/x/sys/unix package to implement preallocFixed. [1] https://golang.org/doc/go1.12#darwin Signed-off-by: Tobias Klauser <tklauser@distanz.ch> |
||
---|---|---|
.. | ||
dir_unix.go | ||
dir_windows.go | ||
dir.go | ||
fileutil.go | ||
flock_plan9.go | ||
flock_solaris.go | ||
flock_test.go | ||
flock_unix.go | ||
flock_windows.go | ||
flock.go | ||
mmap_386.go | ||
mmap_amd64.go | ||
mmap_unix.go | ||
mmap_windows.go | ||
mmap.go | ||
preallocate_darwin.go | ||
preallocate_linux.go | ||
preallocate_other.go | ||
preallocate.go | ||
sync_darwin.go | ||
sync_linux.go | ||
sync.go |