]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: handle errors from *bio.Writer
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Sat, 8 Feb 2025 13:59:18 +0000 (13:59 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 10 Feb 2025 21:08:23 +0000 (13:08 -0800)
commitc8664ced4ef61456a98acb9f910b1646ae81e3b5
tree6274c69e8a184c7ffc554c0cae9d596f7511766f
parent3105e3dca7be281cb12ff5cc88349c26827edfd0
cmd/compile/internal/gc: handle errors from *bio.Writer

The error is stored internally in *bio.Writer, more specifically
in *bufio.Writer and the current code does not handle it, ignoring
errors silently.

Change-Id: Iefa9bf7ddabb3c4fc03377e676a8098dcad9be6d
GitHub-Last-Rev: a5d36223312773039c37bb1c52fffc96fff04fba
GitHub-Pull-Request: golang/go#71621
Reviewed-on: https://go-review.googlesource.com/c/go/+/647915
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/export.go
src/cmd/compile/internal/gc/obj.go