You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
however has no effect, because e is the error being returned, not err.
Making the obvious fix will break a bunch of tests in pipe_test.go, which suggests it might also change the behaviour of real programs. Is it just a matter of calling epipecheck before checking for a short write?
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?go version devel +13cdd814ea Tue May 16 21:01:42 2017 +0000 linux/amd64
(*os.File).Write is supposed to return an error on short writes. The assignment in
go/src/os/file.go
Line 145 in 13cdd81
e
is the error being returned, noterr
.Making the obvious fix will break a bunch of tests in pipe_test.go, which suggests it might also change the behaviour of real programs. Is it just a matter of calling epipecheck before checking for a short write?
The text was updated successfully, but these errors were encountered: