summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2019-04-05 17:58:07 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2019-04-05 18:15:47 +0000
commitfcc527344f3eb39210e98781e1b6bf2a48e89bda (patch)
tree2ca623a6b69f31400e96aeeb30f37b7052400b98 /src/internal
parent731ebf4d87dbe349e2eb60233c3965ee62a32690 (diff)
downloadgo-git-fcc527344f3eb39210e98781e1b6bf2a48e89bda.tar.gz
Revert "[release-branch.go1.12] syscall: avoid _getdirentries64 on darwin"
This reverts commit 731ebf4d87dbe349e2eb60233c3965ee62a32690. Reason for revert: It's not working for large directories. Change-Id: Ie0f88e0ed1d36c4ea4f32d2acd4e223bd8229ca0 Reviewed-on: https://go-review.googlesource.com/c/go/+/170882 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Andrew Bonventre <andybons@golang.org>
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/poll/fd_opendir_ios.go (renamed from src/internal/poll/fd_opendir_darwin.go)3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/internal/poll/fd_opendir_darwin.go b/src/internal/poll/fd_opendir_ios.go
index c7d3318c72..e646bd9a96 100644
--- a/src/internal/poll/fd_opendir_darwin.go
+++ b/src/internal/poll/fd_opendir_ios.go
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build darwin
+// +build arm arm64
+
package poll
import (