]> Cypherpunks repositories - gostls13.git/commit
time: unify three readFile implementations into one
authorIan Lance Taylor <iant@golang.org>
Tue, 26 Sep 2017 17:50:57 +0000 (10:50 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 27 Sep 2017 14:29:31 +0000 (14:29 +0000)
commit71d08324ed0f842228ee8aa966736a157b4a2422
treec1f5ef79d955d48f7dd4538ce528653c58bfdf8a
parent7340d1397701a0dc4d2570dac6414f0cdec3fff8
time: unify three readFile implementations into one

Undoes this part of https://golang.org/cl/5447061 by using the
OS-specific open and close functions, and adding a read function.

Change-Id: If37ef43eb5df8554fc03f3922bbc2f785129bb9c
Reviewed-on: https://go-review.googlesource.com/66271
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Joe Tsai <joetsai@google.com>
src/time/sys_plan9.go
src/time/sys_unix.go
src/time/sys_windows.go
src/time/zoneinfo_read.go