]> Cypherpunks repositories - gostls13.git/commit
runtime: fix slicecopy return value for zero-width elements
authorMatthew Dempsky <mdempsky@google.com>
Tue, 30 Dec 2014 20:31:17 +0000 (12:31 -0800)
committerIan Lance Taylor <iant@golang.org>
Sun, 4 Jan 2015 01:59:59 +0000 (01:59 +0000)
commit537ddc945685cea6fd2f3cbc8bfc6f69616671fd
tree941db3fb02bbf154b6cf3f740639ffd3b8acc1d4
parent865e5e98b685eb3a7888f5263021049c0694d16f
runtime: fix slicecopy return value for zero-width elements

Fixes #8620

Change-Id: Idb49e586919d21d07e94a39ed9ebb0562f403460
Reviewed-on: https://go-review.googlesource.com/2221
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/slice.go
test/fixedbugs/issue8620.go [new file with mode: 0644]