From: Howard Chu Date: Thu, 22 May 2003 23:19:56 +0000 (+0000) Subject: Input files are text, not binary X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~74 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6d77698d6b44cb2d5731f642a746dcc4581fc89;p=openldap Input files are text, not binary --- 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 {