diff options
| author | David Crawshaw <crawshaw@golang.org> | 2017-10-01 02:37:20 +0000 |
|---|---|---|
| committer | David Crawshaw <crawshaw@golang.org> | 2017-10-04 00:37:27 +0000 |
| commit | 5fe9bbcf6312b32e0c9df10a5ea6ba18e929de72 (patch) | |
| tree | 88d07c739f7fe9467f8865425755994c9cb8b5ac /src/database/sql | |
| parent | 5d95de207211a2fc6241daa7f8a0797f013850ed (diff) | |
| download | go-5fe9bbcf6312b32e0c9df10a5ea6ba18e929de72.tar.xz | |
cmd/link: remove coutbuf global variable
Begin passing coutbuf by as a parameter. To make the initial plumbing
pass easier, it is also a field in the standard ctxt parameter.
Consolidate the byte writing functions into the OutBuf object.
The result is less architecture-dependent initialization.
To avoid plumbing out everywhere we want to report an error, move
handling of out file deletion to an AtExit function.
For #22095
Change-Id: I0863695241562e0662ae3669666c7922b8c846f9
Reviewed-on: https://go-review.googlesource.com/67318
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
