]> Cypherpunks repositories - gostls13.git/commit
os: replace itod on posix with general itoa and fix possible infinite recursion
authorMartin Möhrmann <martisch@uos.de>
Wed, 31 Dec 2014 20:18:59 +0000 (21:18 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 2 Jan 2015 16:21:18 +0000 (16:21 +0000)
commit79c4fad8c2416bd7c7865b337d70bc7f92153415
treeceec8c2dee178b31ef1db26204a838fe7db9dd2c
parent307e2706cbf4b9bf7247cf8118908a3cdff93fd7
os: replace itod on posix with general itoa and fix possible infinite recursion

Remove use of itod on posix systems and replace with call to itoa.
Build and use same itoa function on all systems.
Fix infinite recursion in iota function for the case -1<<63.

Change-Id: I89d7e742383c5c4aeef8780501c78a3e1af87a6f
Reviewed-on: https://go-review.googlesource.com/2213
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/exec_posix.go
src/os/str.go