mirror of
https://github.com/golang/go
synced 2024-11-18 16:24:42 -07:00
6e57528ade
Don't panic when reading from stdin on Windows. This is a regression from https://golang.org/cl/43454 Also fix some weird behavior with stdin processing I noticed during reviewing the code: don't allow the -w (write) flag, and adust the filename shown with the -d (diff) flag. Fixes golang/go#20941 Change-Id: I73d0a1dc74c919238a3bb72823585bbf1b7daba1 Reviewed-on: https://go-review.googlesource.com/47810 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Jones <rbjones@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
fastwalk_dirent_fileno.go | ||
fastwalk_dirent_ino.go | ||
fastwalk_portable.go | ||
fastwalk_test.go | ||
fastwalk_unix.go | ||
fastwalk.go | ||
fix_test.go | ||
fix.go | ||
imports.go | ||
mkindex.go | ||
mkstdlib.go | ||
sortimports.go | ||
zstdlib.go |