mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
remove ctprintf; use fmt.caprintf; fix pipe_linux that I broke.
This commit is contained in:
@@ -10,8 +10,8 @@ _pipe :: proc() -> (r, w: ^File, err: Error) {
|
||||
return nil, nil,_get_platform_error(errno)
|
||||
}
|
||||
|
||||
r = _new_file(uintptr(fds[0]))
|
||||
w = _new_file(uintptr(fds[1]))
|
||||
r = _new_file(uintptr(fds[0])) or_return
|
||||
w = _new_file(uintptr(fds[1])) or_return
|
||||
|
||||
r_impl := (^File_Impl)(r.impl)
|
||||
r_impl.kind = .Pipe
|
||||
|
||||
Reference in New Issue
Block a user