1
0
mirror of https://github.com/golang/go synced 2024-10-03 16:31:27 -06:00
go/src/os
Martin Möhrmann 79c4fad8c2 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>
2015-01-02 16:21:18 +00:00
..
exec os/exec: tell lsof not to block 2014-11-05 20:25:20 -08:00
signal all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
user
dir_plan9.go
dir_unix.go os: do not assume syscall i/o funcs return n=0 on error 2014-10-28 15:00:13 -04:00
dir_windows.go
doc.go
env_test.go
env_unix_test.go
env.go
error_plan9.go
error_test.go
error_unix.go
error_windows_test.go
error_windows.go
error.go
exec_plan9.go
exec_posix.go os: replace itod on posix with general itoa and fix possible infinite recursion 2015-01-02 16:21:18 +00:00
exec_unix.go
exec_windows.go
exec.go
export_test.go
file_plan9.go os: document that users of Fd should keep f alive 2014-11-06 09:36:51 -05:00
file_posix.go os: do not assume syscall i/o funcs return n=0 on error 2014-10-28 15:00:13 -04:00
file_unix.go os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
file_windows.go os: document that users of Fd should keep f alive 2014-11-06 09:36:51 -05:00
file.go os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
getwd_darwin.go
getwd.go
os_test.go
os_unix_test.go
os_windows_test.go
path_plan9.go
path_test.go
path_unix.go
path_windows.go
path.go
pipe_bsd.go
pipe_linux.go
proc.go
stat_darwin.go
stat_dragonfly.go
stat_freebsd.go
stat_linux.go
stat_nacl.go
stat_netbsd.go
stat_openbsd.go
stat_plan9.go
stat_solaris.go
stat_windows.go
sticky_bsd.go os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
sticky_notbsd.go os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
str.go os: replace itod on posix with general itoa and fix possible infinite recursion 2015-01-02 16:21:18 +00:00
sys_bsd.go
sys_darwin.go
sys_freebsd.go
sys_linux.go
sys_nacl.go
sys_plan9.go
sys_solaris.go
sys_unix.go
sys_windows.go
types_notwin.go
types_windows.go
types.go