1
0
mirror of https://github.com/golang/go synced 2024-11-24 13:20:15 -07:00

time: fix Plan 9 build

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4966045
This commit is contained in:
Fazlul Shahriar 2011-08-29 09:35:08 -04:00 committed by Russ Cox
parent b3cc4897be
commit 45bd7b07e5

View File

@ -67,9 +67,9 @@ func setupTestingZone() {
l, _ := f.Seek(0, 2)
f.Seek(0, 0)
buf := make([]byte, l)
_, err := f.Read(buf)
_, err = f.Read(buf)
if err != nil {
return
}
zones = parseZones(buf)
zones = parseZones(string(buf))
}