]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: force line-buffering stdout/stderr on Unix
authorShenghou Ma <minux.ma@gmail.com>
Tue, 28 Feb 2012 18:22:28 +0000 (02:22 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 28 Feb 2012 18:22:28 +0000 (02:22 +0800)
commit26daf6a03f7c44b04b3654f6bda1f4a11fbf9df1
tree41b96106ae1aa88bbf32d85e6627268505abd195
parentfb1a5fcacf837f1004cebc392dfbc2594c2ead65
cmd/dist: force line-buffering stdout/stderr on Unix
        If stdout and stderr are indeed the same file (not a tty), which is
        often the case, fully-buffered stdout will make it harder to see
        progresses, for example, ./make.bash 2>&1 | tee log

R=r, rsc
CC=golang-dev
https://golang.org/cl/5700070
src/cmd/dist/unix.c