]> Cypherpunks repositories - gostls13.git/commitdiff
os/user: fix build on darwin with "osusergo" build tag
authorKir Kolyshkin <kolyshkin@gmail.com>
Mon, 16 Apr 2018 17:11:55 +0000 (10:11 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 16 Apr 2018 18:07:04 +0000 (18:07 +0000)
Fixes #24841
Updates #24845

Change-Id: Ia7e2deefe64c12ee8a76ce6ed9f9e003e912b161
Reviewed-on: https://go-review.googlesource.com/107299
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/os/user/getgrouplist_darwin.go

index 935c6de94255edd857afa72f8bbd44233b3dd929..e8fe26c47fa946180580a1240f4227bdd8f779f7 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo,!osusergo
+
 package user
 
 /*