diff options
Diffstat (limited to 'Build/source/texk/mendexk/fread.c')
-rw-r--r-- | Build/source/texk/mendexk/fread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/mendexk/fread.c b/Build/source/texk/mendexk/fread.c index 4d04940380c..74a0c5e19fa 100644 --- a/Build/source/texk/mendexk/fread.c +++ b/Build/source/texk/mendexk/fread.c @@ -31,13 +31,13 @@ int idxread(char *filename, int start) } else { if(kpse_in_name_ok(filename)) - fp=nkf_open(filename,"r"); + fp=nkf_open(filename,"rb"); else fp=NULL; if (fp==NULL) { sprintf(buff,"%s.idx",filename); if(kpse_in_name_ok(buff)) - fp=nkf_open(buff,"r"); + fp=nkf_open(buff,"rb"); else fp=NULL; if (fp==NULL) { |