mirror of
https://github.com/golang/go
synced 2024-11-24 13:50:13 -07:00
time: fix Plan 9 build
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4966045
This commit is contained in:
parent
b3cc4897be
commit
45bd7b07e5
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user