From 48673d2745c5a778875ba3a71d1cd26658f3a7fb Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 21 May 2010 14:39:10 -0700 Subject: [PATCH] syscall: add Utimes, Futimes stubs for NaCl - fix build TBR=nigeltao CC=golang-dev https://golang.org/cl/1262042 --- src/pkg/syscall/syscall_nacl.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pkg/syscall/syscall_nacl.go b/src/pkg/syscall/syscall_nacl.go index aa932b0be7..d55361b760 100644 --- a/src/pkg/syscall/syscall_nacl.go +++ b/src/pkg/syscall/syscall_nacl.go @@ -174,6 +174,14 @@ func Fchown(fd int, uid int, gid int) (errno int) { return ENACL } +func Utimes(path string, tv []Timeval) (errno int) { + return ENACL +} + +func Futimes(fd int, tv []Timeval) (errno int) { + return ENACL +} + func Truncate(name string, size int64) (errno int) { return ENACL }