commit | de20cec9c94ae1c29830cbb288f19bdf5fd961df | [log] [tgz] |
---|---|---|
author | Evan Shaw <chickencha@gmail.com> | Wed Aug 24 14:55:03 2011 -0700 |
committer | Robert Griesemer <gri@golang.org> | Wed Aug 24 14:55:03 2011 -0700 |
tree | 1683de03b52445723cc09c6d3f2cbfd4d34dbf9b | |
parent | 42687d6ce4632cdb7ca428c16cad7c1b2db77263 [diff] [blame] |
big: fix nat.scan bug Scanning "0" with detected base did not actually set the nat to 0. R=gri CC=golang-dev https://golang.org/cl/4923050
diff --git a/src/pkg/big/nat.go b/src/pkg/big/nat.go index be3aff2..33d6bb1 100755 --- a/src/pkg/big/nat.go +++ b/src/pkg/big/nat.go
@@ -646,7 +646,7 @@ } } case os.EOF: - return z, 10, nil + return z.make(0), 10, nil default: return z, 10, err }