diff options
| author | Ian Lance Taylor <iant@golang.org> | 2017-09-23 22:00:53 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-09-24 14:25:50 +0000 |
| commit | 9f7fd893dc455339233a8e081f5fb5e2c51e7b5d (patch) | |
| tree | df6f603f538003a7b7d439b98be8487d770dc026 /src/sort/example_interface_test.go | |
| parent | 14a1d934b60549e7604637fb08e65d4685146bd9 (diff) | |
| download | go-9f7fd893dc455339233a8e081f5fb5e2c51e7b5d.tar.xz | |
os: don't refer directly to Sysfd in epipecheck
Instead record in the File whether it is stdout/stderr. This avoids a
race between a call to epipecheck and closing the file.
Fixes #21994
Change-Id: Ic3d552ffa83402136276bcb5029ec3e6691042c2
Reviewed-on: https://go-review.googlesource.com/65750
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martà <mvdan@mvdan.cc>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/sort/example_interface_test.go')
0 files changed, 0 insertions, 0 deletions
