Minor changes.

This commit is contained in:
Vreixo Formoso 2007-12-23 02:58:54 +01:00
parent 6154fb1f0a
commit 002a832ac3
3 changed files with 5 additions and 3 deletions

View File

@ -630,7 +630,7 @@ int ecma119_image_new(IsoImage *src, Ecma119WriteOpts *opts,
iso_image_ref(src);
target->iso_level = opts->level;
target->omit_version_numbers = 0; //TODO
target->omit_version_numbers = opts->omit_version_numbers;
target->sort_files = opts->sort_files;
target->now = time(NULL);

View File

@ -32,8 +32,7 @@ int get_iso_name(Ecma119Image *img, IsoNode *iso, char **name)
return ISO_SUCCESS;
}
// TODO add support for other input charset
ret = str2ascii("UTF-8", iso->name, &ascii_name);
ret = str2ascii(img->input_charset, iso->name, &ascii_name);
if (ret < 0) {
iso_msg_debug(img->image, "Can't convert %s", iso->name);
return ret;

View File

@ -62,6 +62,9 @@ typedef struct {
//int volnum; /**< The volume in the set which you want to write (usually 0) */
int level; /**< ISO level to write at. */
int flags; /**< Which extensions to support. */
/* relaxed constraints */
unsigned int omit_version_numbers:1;
//int relaxed_constraints; /**< see ecma119_relaxed_constraints_flag */
//unsigned int copy_eltorito:1;