1
0
mirror of https://github.com/golang/go synced 2024-11-24 20:30:14 -07:00
go/src
Brad Fitzpatrick 1722ec22cd cgi: close stdout reader pipe when finished
This causes the child, if still writing, to get an error or
SIGPIPE and most likely exit so our subsequent wait can
finish.

A more guaranteed fix would be putting a time limit on the
child's overall execution, but this fixes the problem
I was having.

Fixes #2059

R=rsc
CC=golang-dev
https://golang.org/cl/4675081
2011-07-11 15:59:27 -07:00
..
cmd sort: rename helpers: s/Sort// in sort.Sort[Float64s|Ints|Strings] 2011-07-08 10:52:50 +10:00
lib9 lib9: stop build if ../version.bash fails 2011-07-01 10:42:25 -04:00
libbio
libmach runtime/cgo: check for errors from pthread_create 2011-06-28 12:04:50 -04:00
pkg cgi: close stdout reader pipe when finished 2011-07-11 15:59:27 -07:00
all-qemu.bash all-qemu.bash: cannot test go/build 2011-06-20 17:44:36 -04:00
all.bash
clean.bash
env.bash build: use correct list of required programs 2011-06-27 14:30:02 -04:00
make.bash
Make.ccmd build: explain $PWD use 2011-06-22 17:00:46 -04:00
Make.clib build: explain $PWD use 2011-06-22 17:00:46 -04:00
Make.cmd
Make.common
Make.inc
Make.pkg
quietgcc.bash
run.bash run.bash: small fix 2011-06-30 09:44:16 +10:00
sudo.bash
version.bash build: make version.bash aware of branches 2011-06-30 15:39:00 +10:00