diff options
author | Fabian Giesen <fabiang@radgametools.com> | 2016-04-28 13:48:15 -0700 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2016-04-30 16:00:59 +0300 |
commit | 5b838ef981ba49349ac05656bff335ac5feaba15 (patch) | |
tree | f07cbb43f1d9e631e57b47c5b71bb1b9c2ec250a /preproc.h | |
parent | 0bbc38dbd576a1a626a31f55ce4c183b195641ef (diff) | |
download | nasm-5b838ef981ba49349ac05656bff335ac5feaba15.tar.gz |
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>
Diffstat (limited to 'preproc.h')
-rw-r--r-- | preproc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,6 +49,6 @@ typedef const unsigned char macros_t; enum preproc_token pp_token_hash(const char *token); /* Opens an include file or input file. This uses the include path. */ -FILE *pp_input_fopen(const char *filename); +FILE *pp_input_fopen(const char *filename, const char *mode); #endif |