1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:40:22 -07:00

cmd/yacc: fix stderr on Windows.

Fixes #6620.

R=golang-dev, dave, r
CC=golang-dev
https://golang.org/cl/15330043
This commit is contained in:
Shenghou Ma 2013-10-19 23:07:20 -04:00
parent dbe2eacf04
commit be1a94b401

View File

@ -357,7 +357,7 @@ func main() {
func setup() {
var j, ty int
stderr = bufio.NewWriter(os.NewFile(2, "stderr"))
stderr = bufio.NewWriter(os.Stderr)
foutput = nil
flag.Parse()