summaryrefslogtreecommitdiff
path: root/util/nvramtool/win32mmap.c
diff options
context:
space:
mode:
authorScott Duplichan <scott@notabs.org>2014-12-12 21:34:04 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2014-12-19 18:55:34 +0100
commite1a4dc803ac9e0a34eabb8f5a7bbbde0c3fdf856 (patch)
treea62bec9a1962c8b638f8c503997c52ed5c3b1a72 /util/nvramtool/win32mmap.c
parent5e2053ea82c3efec3755e0bd62bb67a4aaf7242e (diff)
downloadcoreboot-e1a4dc803ac9e0a34eabb8f5a7bbbde0c3fdf856.tar.xz
arm_boot_tools: Add 'b' to fopen flags for Windows compatibility
Windows requires the 'b' (binary) flag when using fopen to open a binary file. Otherwise \n characters get expanded to \r\n and <ctrl>z is treated as end of file. Change-Id: I3b85e4f9a8f7749801a39154881fe2eedd33f9b8 Signed-off-by: Scott Duplichan <scott@notabs.org> Reviewed-on: http://review.coreboot.org/7790 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'util/nvramtool/win32mmap.c')
0 files changed, 0 insertions, 0 deletions