summaryrefslogtreecommitdiffstats
path: root/eo_tokenizer.rl
diff options
context:
space:
mode:
Diffstat (limited to 'eo_tokenizer.rl')
-rw-r--r--eo_tokenizer.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl
index b995b13..a80dfc5 100644
--- a/eo_tokenizer.rl
+++ b/eo_tokenizer.rl
@@ -432,7 +432,7 @@ eo_tokenizer_walk(Eo_Tokenizer *toknz, const char *source)
int have = 0;
int offset = 0;
- stream = fopen(toknz->source, "r");
+ stream = fopen(toknz->source, "rb");
if (!stream)
{
ERR("unable to read in %s", toknz->source);