]> Cypherpunks repositories - gostls13.git/commit
runtime: fix data race on runtime·maxstring
authorDmitriy Vyukov <dvyukov@google.com>
Tue, 12 Jul 2011 05:21:06 +0000 (01:21 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 12 Jul 2011 05:21:06 +0000 (01:21 -0400)
commitf9f21aa1fb45aaa4eece55f192783bfa46df4909
treed9733196177d563754392a1cf4a62e4ea4167585
parent8ed9fc600c7dc6a9286a6f04bdb41694d53bac3c
runtime: fix data race on runtime·maxstring
The data race can lead to erroneous output of
"[invalid string]" instead of a string.

R=golang-dev
CC=golang-dev
https://golang.org/cl/4678049
src/pkg/runtime/print.c
src/pkg/runtime/string.goc