]> Cypherpunks.ru repositories - gostls13.git/commit
misc/cgo/stdio: make it work on Windows and also test it
authorShenghou Ma <minux.ma@gmail.com>
Wed, 19 Sep 2012 16:27:23 +0000 (00:27 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 19 Sep 2012 16:27:23 +0000 (00:27 +0800)
commit674bbafce6a52ef843eb130200d2946c92d9934d
tree9699629914dfb41efd0b72084f58728658a5ab96
parent4d7c81bc674479a6d21cbeec14bb1d6dac5e4a8c
misc/cgo/stdio: make it work on Windows and also test it
use a function to get stdout and stderr, instead of depending
on a specific libc implementation.
also make test/run.go replace \r\n by \n before comparing
output.

        Fixes #2121.
        Part of issue 1741.

R=alex.brainman, rsc, r, remyoudompheng
CC=golang-dev
https://golang.org/cl/5847068
misc/cgo/stdio/stdio.go
misc/cgo/stdio/stdio_netbsd.go [deleted file]
src/run.bat
test/run.go