]> git.sur5r.net Git - openldap/commitdiff
Input files are text, not binary
authorHoward Chu <hyc@openldap.org>
Thu, 22 May 2003 23:19:56 +0000 (23:19 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 22 May 2003 23:19:56 +0000 (23:19 +0000)
libraries/liblunicode/ucdata/ucgendat.c

index 9b485b716a25437ac29ffe6d83daf7b08b670a8d..2dd8eb54cb9b7d6c5ad5a49f892bd639138a1dc3 100644 (file)
@@ -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 {