]> Cypherpunks repositories - gostls13.git/commit
correct a design flaw: Atoi etc should not guess the base.
authorRuss Cox <rsc@golang.org>
Mon, 12 Oct 2009 06:46:11 +0000 (23:46 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 12 Oct 2009 06:46:11 +0000 (23:46 -0700)
commitfcdba72d2ad3146ca83658206fc267a763a0a419
tree3253bc73bc49592e082524241c3aaafeed9038de
parent867e10f2415fc89716a5e08ee89fa2e6f512caff
correct a design flaw: Atoi etc should not guess the base.
leave that for Btoi with base == 0.

R=r
DELTA=146  (101 added, 29 deleted, 16 changed)
OCL=35584
CL=35593
src/pkg/strconv/atoi.go
src/pkg/strconv/atoi_test.go