1
0
mirror of https://github.com/golang/go synced 2024-09-25 03:10:12 -06: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) l, _ := f.Seek(0, 2)
f.Seek(0, 0) f.Seek(0, 0)
buf := make([]byte, l) buf := make([]byte, l)
_, err := f.Read(buf) _, err = f.Read(buf)
if err != nil { if err != nil {
return return
} }
zones = parseZones(buf) zones = parseZones(string(buf))
} }