mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Input files are text, not binary
This commit is contained in:
parent
6362a51fe8
commit
c6d77698d6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user