go/misc/cgo
Russ Cox 647eaed93b cmd/cgo: allow C.malloc(0) always
Because we can, and because it otherwise might crash
the program if we think we're out of memory.

Fixes #6390.

R=golang-dev, iant, minux.ma
CC=golang-dev
https://golang.org/cl/13345048
2013-09-16 14:04:55 -04:00
..
errors cmd/cgo: don't let #cgo directives mess up line numbering 2013-09-03 21:15:15 -07:00
gmp misc/cgo/gmp: fix typo. 2013-03-30 19:02:14 +08:00
life misc/cgo: prepare for 64-bit ints 2012-09-24 14:58:45 -04:00
stdio misc/cgo/stdio: make it work on Windows and also test it 2012-09-20 00:27:23 +08:00
test cmd/cgo: allow C.malloc(0) always 2013-09-16 14:04:55 -04:00
testasan runtime: more flexible heap memory mapping on 64-bits 2013-06-12 18:47:16 +04:00
testcdefs cmd/cgo: Fix issue with cgo cdefs 2013-07-24 17:27:42 -07:00
testso cgo: enable cgo on dragonfly 2013-09-04 15:19:21 -07:00
testtls cmd/ld: emit TLS relocations during external linking 2013-03-27 13:27:35 -07:00