[release-branch.go1.3] net: Don't read beyond end of slice when parsing resolv.conf options.

««« CL 102470046 / 5207b394de96
net: Don't read beyond end of slice when parsing resolv.conf options.

Fixes issue 8252.

LGTM=adg
R=ruiu, josharian, adg
CC=golang-codereviews
https://codereview.appspot.com/102470046

Committer: Andrew Gerrand <adg@golang.org>
»»»

TBR=rsc
CC=golang-codereviews
https://codereview.appspot.com/124140043
[release-branch.go1.3] include/u.h: define _DEFAULT_SOURCE for new glibc

««« CL 112530043 / c8059ac4e0ec
include/u.h: define _DEFAULT_SOURCE for new glibc

glibc devs have apparently decided _BSD_SOURCE will be
deprecated on Linux, and issue a preprocessor warning if
declaring _BSD_SOURCE without _DEFAULT_SOURCE.

https://sourceware.org/glibc/wiki/Release/2.20

Fixes issue 8397.

LGTM=iant
R=dave, gobot, iant
CC=golang-codereviews
https://codereview.appspot.com/112530043

Committer: Ian Lance Taylor <iant@golang.org>
»»»

TBR=rsc
CC=golang-codereviews
https://codereview.appspot.com/124150043
[release-branch.go1.3] cmd/cgo: fix recursive type mapping

««« CL 122850043 / 0015a2541545
cmd/cgo: fix recursive type mapping

Instead of immediately completing pointer type mappings, add them to
a queue to allow them to be completed later.  This fixes issues	caused
by Type() returning arbitrary in-progress type mappings.

Fixes issue 8368.
Fixes issue 8441.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/122850043

Committer: Ian Lance Taylor <iant@golang.org>
»»»

TBR=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/128940043