mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Merge branch 'master' into new-io
This commit is contained in:
@@ -294,7 +294,7 @@ _read :: proc(f: ^File, p: []byte) -> (n: int, err: Error) {
|
||||
}
|
||||
}
|
||||
|
||||
return int(total_read), nil
|
||||
return int(total_read), err
|
||||
}
|
||||
|
||||
_read_at :: proc(f: ^File, p: []byte, offset: i64) -> (n: int, err: Error) {
|
||||
|
||||
Reference in New Issue
Block a user