remove ctprintf; use fmt.caprintf; fix pipe_linux that I broke.

This commit is contained in:
jason
2024-07-24 10:23:23 -04:00
parent 215b21811e
commit a5fa93e06d
3 changed files with 5 additions and 16 deletions
+2 -2
View File
@@ -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