File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2626 Stderr = NewFile (uintptr (syscall .Stderr ), "/dev/stderr" )
2727)
2828
29- const DevNull = "/dev/null"
30-
3129// isOS indicates whether we're running on a real operating system with
3230// filesystem support.
3331const isOS = true
Original file line number Diff line number Diff line change 1515 Stderr = NewFile (2 , "/dev/stderr" )
1616)
1717
18+ const DevNull = "/dev/null"
19+
1820// isOS indicates whether we're running on a real operating system with
1921// filesystem support.
2022const isOS = false
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ import (
1212 "syscall"
1313)
1414
15+ const DevNull = "/dev/null"
16+
1517type syscallFd = int
1618
1719// fixLongPath is a noop on non-Windows platforms.
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import (
1313 "unicode/utf16"
1414)
1515
16+ const DevNull = "NUL"
17+
1618type syscallFd = syscall.Handle
1719
1820// Symlink is a stub, it is not implemented.
You can’t perform that action at this time.
0 commit comments