]> git.baikalelectronics.ru Git - arm-tf.git/commit
fiptool: Update file open modes with 'b' (for Windows)
authorEvan Lloyd <evan.lloyd@arm.com>
Fri, 13 Jan 2017 14:13:09 +0000 (14:13 +0000)
committerEvan Lloyd <evan.lloyd@arm.com>
Wed, 30 Aug 2017 13:56:17 +0000 (14:56 +0100)
commit55745deaf434a832ecb49daf261b1e6300e4eb13
treeb168afa2378f93f795e0c59e57c4cb10fa020a30
parent77544efbf4545b5ba5133f2bb35f6515b3914975
fiptool: Update file open modes with 'b' (for Windows)

Unix does not distinguish binary and text modes.
On Windows the 'b' flag (e.g. "rb" instead of "r") is used to
indicate that files should be opened in binary mode.
This has no impact on Unix, but is needed on Windows to avoid
end-of-line issues.

Change-Id: I69424c55735d5d563d36c50bedd6357b8e05137e
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
tools/fiptool/fiptool.c