1
0
mirror of https://github.com/golang/go synced 2024-09-30 20:28:32 -06:00
go/src
Ian Lance Taylor e3d7ec006f os: consistently return ErrClosed for closed file
Catch all the cases where a file operation might return ErrFileClosing,
and convert to ErrClosed. Use a new method for the conversion, which
permits us to remove some KeepAlive calls.

Change-Id: I584178f297efe6cb86f3090b2341091b412f1041
Reviewed-on: https://go-review.googlesource.com/41793
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-26 02:54:59 +00:00
..
archive archive/tar: extend TestFileInfoHeaderSymlink 2017-04-25 03:04:46 +00:00
bufio bufio: clarify that Flush returns a cached write error 2017-04-21 00:48:51 +00:00
builtin
bytes strings: optimize Count for amd64 2017-04-07 14:25:13 +00:00
cmd cmd/compile: move Node.Typecheck to flags 2017-04-26 01:27:28 +00:00
compress
container
context all: fix minor misspellings 2017-04-03 23:19:07 +00:00
crypto encoding/asn1: add NullBytes and NullRawValue for working with ASN.1 NULL 2017-04-24 22:23:56 +00:00
database/sql database/sql: allow using a single connection from the database 2017-04-24 17:03:05 +00:00
debug debug/pe: add TestBuildingWindowsGUI 2017-03-30 01:19:57 +00:00
encoding all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
errors
expvar
flag
fmt
go go/internal/gcimporter: add test object files for go1.8 versions 4 and 5 2017-04-25 18:15:20 +00:00
hash hash/crc32: optimize arm64 crc32 implementation 2017-04-13 12:44:10 +00:00
html html/template: use bytes.ContainsAny 2017-04-25 23:36:25 +00:00
image all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
index/suffixarray
internal os, net, internal/poll: return consistent error for closed socket 2017-04-26 00:03:14 +00:00
io io: correctly compute call depth in test 2017-04-18 19:56:54 +00:00
log
math math/big: improve performance for addVV/subVV for ppc64x 2017-04-25 13:15:39 +00:00
mime mime: fix panic parsing 'encoded-word' 2017-04-09 19:03:00 +00:00
net net/http: make LocalAddrContext handle wildcard interface 2017-04-26 00:52:20 +00:00
os os: consistently return ErrClosed for closed file 2017-04-26 02:54:59 +00:00
path all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
plugin plugin: resolve plugin import path issue 2017-04-26 00:54:54 +00:00
reflect reflect: document ptrdata field of rtype 2017-04-18 15:30:04 +00:00
regexp regexp: remove redundant break 2017-04-25 15:00:06 +00:00
runtime runtime: adjust netpoll panic messages 2017-04-25 21:39:18 +00:00
sort
strconv
strings strings: optimize Count for amd64 2017-04-07 14:25:13 +00:00
sync all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
syscall syscall: fix ordering of Unshare and chroot on Linux 2017-04-25 04:10:39 +00:00
testing testing: use function names to identify helpers 2017-04-21 15:34:32 +00:00
text all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
time all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update vendored route 2017-04-25 21:39:45 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc