]> Cypherpunks repositories - gostls13.git/commit
runtime: mark concatstring as variadic (fixes 386 build)
authorRuss Cox <rsc@golang.org>
Thu, 18 Jul 2013 16:19:38 +0000 (12:19 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 18 Jul 2013 16:19:38 +0000 (12:19 -0400)
commit249f807c39e96a30707f5005881b6c1b8e08077e
treeda4d58a2a7b299e223340f80d0db2437030a85e4
parentff52cadc01756d097e5f3e3fe5ff2634d8825ffb
runtime: mark concatstring as variadic (fixes 386 build)

Windows was the only one seeing this bug reliably in the builder,
but it was easy to reproduce using 'GOGC=1 go test strconv'.
concatstring looked like it took only one string, but in fact it
takes a long list of strings. Add an explicit ... so that the traceback
will not use the "fixed" frame size and instead look at the
frame size metadata recorded by the caller.

R=golang-dev
TBR=golang-dev
CC=golang-dev
https://golang.org/cl/11531043
src/pkg/runtime/string.goc