diff options
author | Nikias Bassen | 2019-01-21 18:40:21 +0100 |
---|---|---|
committer | Nikias Bassen | 2019-01-21 18:40:21 +0100 |
commit | c9544ad081d16a8b1d4d7ab6c3584070a4159d72 (patch) | |
tree | 5e4eace77d3ab7113ad91d390a038f2aec7c590e | |
parent | 8d389e546563c9bd346e6f5102e0f75d546b08e8 (diff) | |
download | idevicerestore-c9544ad081d16a8b1d4d7ab6c3584070a4159d72.tar.gz idevicerestore-c9544ad081d16a8b1d4d7ab6c3584070a4159d72.tar.bz2 |
win32: Make sure to use binary flag for fopen everywhere
-rw-r--r-- | src/idevicerestore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 26c720b..3a496de 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -624,7 +624,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) lock_file(lockfn, &li); FILE* extf = NULL; if (access(extfn, F_OK) != 0) { - extf = fopen(extfn, "w"); + extf = fopen(extfn, "wb"); } unlock_file(&li); if (!extf) { |