fexc: Use "binary" mode for input/output on Windows
Without this, the Windows version of sunxi-fexc might not process
files correctly.
TODO: This is really "hackish" / rather awful.
Eventually we should probably get rid of the file descriptor
based approach, i.e. open() plus _setmode(), and move to stdio
FILE* instead, which can be opened with the 'b' mode flag set.
Signed-off-by:
Bernhard Nortmann <bernhard.nortmann@web.de>
Please register or sign in to comment