open test file in binary mode

This commit is contained in:
Jacob Barthelmeh
2017-01-10 09:57:29 -07:00
parent af00ad7683
commit 6732961e0d

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;