Commit 5dc95206 authored by Rob Pike's avatar Rob Pike

don't print binary data. add TODO for better errors.

TBR=rsc
DELTA=2  (1 added, 0 deleted, 1 changed)
OCL=28066
CL=28070
parent 93831d25
......@@ -28,7 +28,8 @@ type TimeZoneError struct {
}
func error(bytes []byte) os.Error {
return TimeZoneError{ `time: malformed zoneinfo: "` + string(bytes) + `"` };
// TODO(rsc): provide better diagnostics
return TimeZoneError{ "time: malformed zoneinfo"};
}
// Simple I/O interface to binary blob of data.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment