1
0
mirror of https://github.com/golang/go synced 2024-10-04 17:21:20 -06:00
go/src/os/user
Ian Lance Taylor 9780bf2a95 os/user: don't create C function mygetgrouplist
Instead of exporting the C function mygetgrouplist as a global symbol to
conflict with other symbols of the same name, use trivial Go code and a
static C function.

Change-Id: I98dd667814d0a0ed8f7b1d4cfc6483d5a6965b26
Reviewed-on: https://go-review.googlesource.com/23008
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-10 22:32:38 +00:00
..
getgrouplist_darwin.go os/user: don't create C function mygetgrouplist 2016-05-10 22:32:38 +00:00
getgrouplist_unix.go os/user: don't create C function mygetgrouplist 2016-05-10 22:32:38 +00:00
listgroups_solaris.go os/user: make OS-specific getgrouplist calls 2016-03-08 20:58:00 +00:00
listgroups_unix.go os/user: don't create C function mygetgrouplist 2016-05-10 22:32:38 +00:00
lookup_android.go os/user: add LookupGroup, LookupGroupId, and User.GroupIds functions 2016-03-07 20:11:19 +00:00
lookup_plan9.go os/user: add LookupGroup, LookupGroupId, and User.GroupIds functions 2016-03-07 20:11:19 +00:00
lookup_stubs.go os/user: skip Current test on android 2016-03-08 17:28:13 +00:00
lookup_unix.go os/user: wrap getgrnam_r to fix type issues 2016-04-06 15:49:15 +00:00
lookup_windows.go os/user: add LookupGroup, LookupGroupId, and User.GroupIds functions 2016-03-07 20:11:19 +00:00
lookup.go os/user: add LookupGroup, LookupGroupId, and User.GroupIds functions 2016-03-07 20:11:19 +00:00
user_test.go os/user: allow LookupGroupId to fail during test 2016-03-15 16:25:40 +00:00
user.go os/user: add LookupGroup, LookupGroupId, and User.GroupIds functions 2016-03-07 20:11:19 +00:00