aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go')
-rw-r--r--src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go b/src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go
index c60a78ed92..8776c5741c 100644
--- a/src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go
+++ b/src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build aix solaris
+// +build aix solaris,!illumos
// This code implements the filelock API using POSIX 'fcntl' locks, which attach
// to an (inode, process) pair rather than a file descriptor. To avoid unlocking
@@ -12,9 +12,6 @@
// Most platforms provide some alternative API, such as an 'flock' system call
// or an F_OFD_SETLK command for 'fcntl', that allows for better concurrency and
// does not require per-inode bookkeeping in the application.
-//
-// TODO(golang.org/issue/35618): add a syscall.Flock binding for Illumos and
-// switch it over to use filelock_unix.go.
package filelock