summaryrefslogtreecommitdiff
path: root/tests/tableopts.l4
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tableopts.l4')
-rw-r--r--tests/tableopts.l42
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tableopts.l4 b/tests/tableopts.l4
index bb79407..ac85c29 100644
--- a/tests/tableopts.l4
+++ b/tests/tableopts.l4
@@ -55,7 +55,7 @@ int main ( int argc, char** argv )
#endif
#ifdef TEST_HAS_TABLES_EXTERNAL
- if((fp = fopen(argv[1],"r"))== NULL)
+ if((fp = fopen(argv[1],"rb"))== NULL)
YY_FATAL_ERROR("could not open tables file for reading");
if(yytables_fload(fp M4_YY_CALL_LAST_ARG) < 0)