Commit be1a94b4 authored by Shenghou Ma's avatar Shenghou Ma

cmd/yacc: fix stderr on Windows.

Fixes #6620.

R=golang-dev, dave, r
CC=golang-dev
https://golang.org/cl/15330043
parent dbe2eacf
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment