codeview: Make md5sum calc read file in 'binary' mode
commit5b838ef981ba49349ac05656bff335ac5feaba15
authorFabian Giesen <fabiang@radgametools.com>
Thu, 28 Apr 2016 20:48:15 +0000 (28 13:48 -0700)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 30 Apr 2016 13:00:59 +0000 (30 16:00 +0300)
treef07cbb43f1d9e631e57b47c5b71bb1b9c2ec250a
parent0bbc38dbd576a1a626a31f55ce4c183b195641ef
codeview: Make md5sum calc read file in 'binary' mode

When assembling on Windows machines with CRLF line endings, computing
the MD5 hash from the file read in "text" mode (transforms CRLF->LF)
gives incorrect results.

Signed-off-by: Fabian Giesen <fabiang@radgametools.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/codeview.c
preproc.c
preproc.h