mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 04:20:28 +00:00
Merge pull request #4081 from DerTee/master
fix error handling in os2.read_entire_file_from_file()
This commit is contained in:
@@ -126,6 +126,7 @@ read_entire_file_from_file :: proc(f: ^File, allocator: runtime.Allocator) -> (d
|
||||
size = int(size64)
|
||||
}
|
||||
} else if serr != .No_Size {
|
||||
err = serr
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user