From c6d77698d6b44cb2d5731f642a746dcc4581fc89 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 22 May 2003 23:19:56 +0000 Subject: [PATCH] Input files are text, not binary --- libraries/liblunicode/ucdata/ucgendat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblunicode/ucdata/ucgendat.c b/libraries/liblunicode/ucdata/ucgendat.c index 9b485b716a..2dd8eb54cb 100644 --- a/libraries/liblunicode/ucdata/ucgendat.c +++ b/libraries/liblunicode/ucdata/ucgendat.c @@ -1622,7 +1622,7 @@ main(int argc, char *argv[]) case 'x': argc--; argv++; - if ((in = fopen(argv[0], "rb")) == 0) + if ((in = fopen(argv[0], "r")) == 0) fprintf(stderr, "%s: unable to open composition exclusion file %s\n", prog, argv[0]); @@ -1638,7 +1638,7 @@ main(int argc, char *argv[]) } else { if (in != stdin && in != NULL) fclose(in); - if ((in = fopen(argv[0], "rb")) == 0) + if ((in = fopen(argv[0], "r")) == 0) fprintf(stderr, "%s: unable to open ctype file %s\n", prog, argv[0]); else { -- 2.39.5