]> Cypherpunks repositories - gostls13.git/commit
cmd/go: use temporary file for output of gcc command on Windows
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Thu, 14 May 2020 09:17:49 +0000 (18:17 +0900)
committerIan Lance Taylor <iant@golang.org>
Wed, 20 May 2020 21:52:17 +0000 (21:52 +0000)
commitaeab40317415468323ef45095f2090ff90c3ecd2
tree578c16afa13a129ecdfafefbd3f3d06aea864fad
parentdaf70d6c1688a1ba1699c933b3c3f04d6f2f73d9
cmd/go: use temporary file for output of gcc command on Windows

On Windows, some of gcc command (like msys2 native) output NUL as a file.

Fixes #36000

Change-Id: I02c632fa2d710a011d79f24d5beee4bc57ad994e
Reviewed-on: https://go-review.googlesource.com/c/go/+/233977
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/work/exec.go
src/cmd/go/testdata/script/issue36000.txt [new file with mode: 0644]