mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 22:45:27 +00:00
Fix fopen() file mode in fileio_fmt_autodetect()
This commit is contained in:
@@ -1335,7 +1335,7 @@ int fileio_fmt_autodetect(const char * fname)
|
||||
int found;
|
||||
int first = 1;
|
||||
|
||||
#if defined(WIN32)
|
||||
#if !defined(WIN32)
|
||||
f = fopen(fname, "r");
|
||||
#else
|
||||
f = fopen(fname, "rb");
|
||||
|
Reference in New Issue
Block a user