Done major changes to libisofs, including multisession and reading support
This commit is contained in:
@ -92,6 +92,12 @@ int main(int argc, char **argv)
|
||||
usage();
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (!iso_init()) {
|
||||
err(1, "Can't init libisofs");
|
||||
}
|
||||
iso_msgs_set_severities("NEVER", "ALL", "");
|
||||
|
||||
fd = fopen(argv[optind+1], "w");
|
||||
if (!fd) {
|
||||
err(1, "error opening output file");
|
||||
@ -133,7 +139,7 @@ int main(int argc, char **argv)
|
||||
opts.level = level;
|
||||
opts.flags = flags;
|
||||
opts.relaxed_constraints = 0;//constraints;
|
||||
opts.input_charset = "UTF-8";
|
||||
opts.input_charset = NULL;//"UTF-8";
|
||||
opts.ouput_charset = "UTF-8";
|
||||
|
||||
src = iso_source_new_ecma119(volset, &opts);
|
||||
@ -143,5 +149,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
fclose(fd);
|
||||
|
||||
iso_finish();
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user