1
0
mirror of https://github.com/golang/go synced 2024-11-06 05:36:13 -07:00
go/src/io
David Lazar f395e87888 io: fix test when MultiReader is inlined with -l=3
This ensures there isn't a live reference to buf1 on our stack
when MultiReader is inlined.

Fixes #18819.

Change-Id: I96a8cdc1ffad8f8a10c0ddcbf0299005f3176b61
Reviewed-on: https://go-review.googlesource.com/35931
Run-TryBot: David Lazar <lazard@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
2017-02-02 18:56:20 +00:00
..
ioutil all: use sort.Slice where applicable 2016-10-04 05:10:56 +00:00
example_test.go all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
io_test.go all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
io.go io: update documentation on LimitedReader 2016-12-09 23:19:06 +00:00
multi_test.go io: fix test when MultiReader is inlined with -l=3 2017-02-02 18:56:20 +00:00
multi.go io: fix MultiReader panic on nil reader. 2016-12-08 17:29:33 +00:00
pipe_test.go io: fix PipeWriter.Close to wake up Writes 2016-12-21 15:08:26 +00:00
pipe.go io: fix PipeWriter.Close to wake up Writes 2016-12-21 15:08:26 +00:00