Skip to content
Myr

Merge pull request #154 from nicowilliams/no-fopen-re

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Remove accidentally introduced use of fopen "e"

authored by Stephen Dolan · committed by Stephen Dolan · parents ce17b6b, da09544 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jq_test.c+1 added-1 removed
11 unmodified lines
12int jq_testsuite(int argc, char* argv[]) {13 FILE *testdata = stdin;14 jv_test();15 if (argc > 2) {16 testdata = fopen(argv[2], "re");16 testdata = fopen(argv[2], "r");17 if (!testdata) {18 perror("fopen");19 exit(1);20 }
231 unmodified lines