mirror of
https://github.com/golang/go
synced 2024-11-24 11:10:03 -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)
|
||||
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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user