diff options
| author | Dave Cheney <dave@cheney.net> | 2016-04-08 19:30:41 +1000 |
|---|---|---|
| committer | Dave Cheney <dave@cheney.net> | 2016-04-09 03:53:38 +0000 |
| commit | ca397bb68e4b548843d2886e374f96ec3bb0f9c0 (patch) | |
| tree | 7139e2b16fb19f4536e6d2c36c38e63f5146f756 /src/cmd/internal/obj/link.go | |
| parent | 6fee4aa5c76612d133d2b01441e608cfa696bae9 (diff) | |
| download | go-ca397bb68e4b548843d2886e374f96ec3bb0f9c0.tar.xz | |
cmd: remove bio.BufReader and bio.BufWriter
bio.BufReader was never used.
bio.BufWriter was used to wrap an existing io.Writer, but the
bio.Writer returned would not be seekable, so replace all occurences
with bufio.Reader instead.
Change-Id: I9c6779e35c63178aa4e104c17bb5bb8b52de0359
Reviewed-on: https://go-review.googlesource.com/21722
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Dave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/link.go')
| -rw-r--r-- | src/cmd/internal/obj/link.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/link.go b/src/cmd/internal/obj/link.go index c48c3d807f..62175f9ed8 100644 --- a/src/cmd/internal/obj/link.go +++ b/src/cmd/internal/obj/link.go @@ -31,7 +31,7 @@ package obj import ( - "cmd/internal/bio" + "bufio" "cmd/internal/sys" ) @@ -629,7 +629,7 @@ type Link struct { Flag_shared int32 Flag_dynlink bool Flag_optimize bool - Bso *bio.Writer + Bso *bufio.Writer Pathname string Goroot string Goroot_final string |
