[os2]: Make anonymous pipes always inheritable

This commit is contained in:
flysand7 committed 2024-07-18 22:57:30 +11:00
1 parent 4dcb75af6d
commit 75605a47e7
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import "core:sys/linux"
_pipe :: proc() -> (r, w: ^File, err: Error) {
fds: [2]linux.Fd
errno := linux.pipe2(&fds, {.CLOEXEC})
errno := linux.pipe2(&fds, {})
if errno != .NONE {
return nil, nil,_get_platform_error(errno)
}