ICU-880 Add message when using locale fallbacks, increase max file size.
X-SVN-Rev: 4907
This commit is contained in:
parent
52afc81fd8
commit
a581d73d9c
@ -944,6 +944,13 @@ int main(int argc, const char** argv) {
|
|||||||
fprintf(stderr, "Collator creation failed.: %d\n", status);
|
fprintf(stderr, "Collator creation failed.: %d\n", status);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
if (status==U_USING_DEFAULT_ERROR && opt_terse==FALSE) {
|
||||||
|
fprintf(stderr, "Warning, U_USING_DEFAULT_ERROR for %s\n", opt_locale);
|
||||||
|
}
|
||||||
|
if (status==U_USING_FALLBACK_ERROR && opt_terse==FALSE) {
|
||||||
|
fprintf(stderr, "Warning, U_USING_FALLBACK_ERROR for %s\n", opt_locale);
|
||||||
|
}
|
||||||
|
|
||||||
if (opt_norm) {
|
if (opt_norm) {
|
||||||
ucol_setAttribute(gCol, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
|
ucol_setAttribute(gCol, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
|
||||||
}
|
}
|
||||||
@ -1018,7 +1025,7 @@ int main(int argc, const char** argv) {
|
|||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
const int MAXLINES = 10000;
|
const int MAXLINES = 40000;
|
||||||
gFileLines = new Line[MAXLINES];
|
gFileLines = new Line[MAXLINES];
|
||||||
UChar buf[1024];
|
UChar buf[1024];
|
||||||
int column = 0;
|
int column = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user