Merge pull request #706 from JacobBarthelmeh/Windows
open test file in binary mode
This commit is contained in:
commit
8954de40ff
@ -361,7 +361,7 @@ static void test_harness(void* vargs)
|
|||||||
fname = args->argv[1];
|
fname = args->argv[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
file = fopen(fname, "r");
|
file = fopen(fname, "rb");
|
||||||
if (file == NULL) {
|
if (file == NULL) {
|
||||||
fprintf(stderr, "unable to open %s\n", fname);
|
fprintf(stderr, "unable to open %s\n", fname);
|
||||||
args->return_code = 1;
|
args->return_code = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user