Merge pull request #706 from JacobBarthelmeh/Windows

open test file in binary mode
pull/707/head
dgarske 2017-01-10 11:54:47 -08:00 committed by GitHub
commit 8954de40ff
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ static void test_harness(void* vargs)
fname = args->argv[1];
}
file = fopen(fname, "r");
file = fopen(fname, "rb");
if (file == NULL) {
fprintf(stderr, "unable to open %s\n", fname);
args->return_code = 1;