commit | 54d24416868a0672787d5b9c9dc41784896d9fe7 | [log] [tgz] |
---|---|---|
author | Keith Randall <keithr@alum.mit.edu> | Mon Dec 17 17:58:24 2018 -0800 |
committer | Keith Randall <khr@golang.org> | Thu Dec 20 18:17:18 2018 +0000 |
tree | d785ae9136b0a5973d3ec581ef8926dbce957cb9 | |
parent | 8b8312acd249fcda23c408c9b801604c8469b984 [diff] [blame] |
unix: remove Getdirentries on iOS This system call doesn't exist on iOS. Update golang/go#28984 Change-Id: I92eb6fd3eb263863a31338bc18c9826a2242434b Reviewed-on: https://go-review.googlesource.com/c/154659 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/unix/syscall_darwin_arm.go b/unix/syscall_darwin_arm.go index fbe381a..0bc2f38 100644 --- a/unix/syscall_darwin_arm.go +++ b/unix/syscall_darwin_arm.go
@@ -71,3 +71,7 @@ //sys Lstat(path string, stat *Stat_t) (err error) //sys Stat(path string, stat *Stat_t) (err error) //sys Statfs(path string, stat *Statfs_t) (err error) + +func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { + return 0, ENOSYS +}