]> Cypherpunks repositories - gostls13.git/commit
os/user: wrap getgrnam_r to fix type issues
authorRoss Light <light@google.com>
Thu, 31 Mar 2016 21:57:49 +0000 (14:57 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 6 Apr 2016 15:49:15 +0000 (15:49 +0000)
commit530e2164940d6650c43ecc8c652eed557e0bff8a
tree2254212dd88769b8be15357ebdfbd892a6e6db22
parentb2fc9f1c23453e16ab08d411ed0e439212d6e5e6
os/user: wrap getgrnam_r to fix type issues

Even with -D_POSIX_PTHREAD_SEMANTICS, Solaris seems to not define
getgrnam_r in a POSIX compatible way.

Fixes #14967

Change-Id: I78cb7e5b30b2d8b860e336060a0a06f4720c0475
Reviewed-on: https://go-review.googlesource.com/21385
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/user/lookup_unix.go