FILE *fp = fopen("locale_collate.h", "w");
if (!fp) {
- error_msg("couldn't open output file!");
+ error_msg("cannot open output file!");
}
dump_collate(fp);
if (ferror(fp) || fclose(fp)) {
if (argc == 2)
output_file = argv[1];
if (!(lso = fopen(output_file, "w"))) {
- printf("can't open output file '%s'!\n", output_file);
+ printf("cannot open output file '%s'!\n", output_file);
return EXIT_FAILURE;
}
if (argc == 3)
output_file = *++argv;
if (output_file == NULL || !(ofp = fopen(output_file, "w"))) {
- printf("error: can not open outputfile '%s' for writing!\n",
+ printf("cannot open output file '%s'!\n",
output_file);
return EXIT_FAILURE;
}
unsigned char *p;
if (!(fp = fopen("locale.mmap", "w"))) {
- printf("error - can't open locale.mmap for writing!");
+ printf("cannot open locale.mmap for writing!");
return EXIT_FAILURE;
}
}
if (!(out = fopen("c8tables.h","w"))) {
- printf("error: couldn't open file \"c8tables.h\"\n");
+ printf("cannot open output file 'c8tables.h'!\n");
return EXIT_FAILURE;
}
codeset_index[0] = 0;
while (--argc) {
if (!(fp = fopen(*++argv,"r"))) {
- printf("error: couldn't open file \"%s\"\n", *argv);
+ printf("cannot open file \"%s\"\n", *argv);
return EXIT_FAILURE;
}
printf("processing %s... ", *argv);
FILE *fp;
if (!(fp = fopen("wctables.h", "w"))) {
- printf("couldn't open wctables.h!\n");
+ printf("cannot open output file 'wctables.h'!\n");
return EXIT_FAILURE;
}
size_t i;
if (!(lmm = fopen("locale.mmap", "r"))) {
- printf("can't open locale.mmap!\n");
+ printf("cannot open locale.mmap!\n");
return EXIT_FAILURE;
}
if (fstat(fileno(lmm), &fd_stat)) {
- printf("can't stat locale.mmap!\n");
+ printf("cannot stat locale.mmap!\n");
fclose(lmm);
return EXIT_FAILURE;
}
if (!(lso = fopen("locale_data.c", "w"))) {
- printf("can't open locale_data.c!\n");
+ printf("cannot open locale_data.c!\n");
fclose(lmm);
return EXIT_FAILURE;
}