aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/csv/reader.go
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2017-04-26 09:27:15 +0200
committerDavid du Colombier <0intro@gmail.com>2017-04-26 15:04:43 +0000
commit8a4087aee64e7f0f73c9e286e159ab9bc5f564bf (patch)
tree6b0a93839392a940cd33ed6839f35111edda015b /src/encoding/csv/reader.go
parentaecf73fc3193cbcb1d6b02c64dcd3bf7f0317bd2 (diff)
downloadgo-8a4087aee64e7f0f73c9e286e159ab9bc5f564bf.tar.xz
net: fix close on closed listener on Plan 9
Since close errors have been cleaned up in CL 39997, TestCloseError is failing on Plan 9, because TCPListener.Close didn't check that the listener has already been closed before writing the "hangup" string to the listener control file. This change fixes TCPListener.Close on Plan 9, by closing poll.FD before writing the "hangup" string. Fixes #20128. Change-Id: I13862b23a9055dd1be658acef7066707d98c591f Reviewed-on: https://go-review.googlesource.com/41850 Run-TryBot: David du Colombier <0intro@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding/csv/reader.go')
0 files changed, 0 insertions, 0 deletions