mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
1 parent
d0451190ca
commit
816475b285
6 files changed
+6
-6
No files matched your search
@@ -671,7 +671,7 @@ read_file(wuffs_base__io_buffer* dst, const char* path) {
|
||||
original_path);
|
||||
}
|
||||
|
||||
FILE* f = fopen(path, "r");
|
||||
FILE* f = fopen(path, "rb");
|
||||
if (!f) {
|
||||
RETURN_FAIL("read_file(\"%s\"): %s (errno=%d)", path, strerror(errno),
|
||||
errno);
|
||||
|
||||
Reference in new issue
Block a user