Minor changes.
This commit is contained in:
parent
6154fb1f0a
commit
002a832ac3
@ -630,7 +630,7 @@ int ecma119_image_new(IsoImage *src, Ecma119WriteOpts *opts,
|
|||||||
iso_image_ref(src);
|
iso_image_ref(src);
|
||||||
|
|
||||||
target->iso_level = opts->level;
|
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->sort_files = opts->sort_files;
|
||||||
|
|
||||||
target->now = time(NULL);
|
target->now = time(NULL);
|
||||||
|
@ -32,8 +32,7 @@ int get_iso_name(Ecma119Image *img, IsoNode *iso, char **name)
|
|||||||
return ISO_SUCCESS;
|
return ISO_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO add support for other input charset
|
ret = str2ascii(img->input_charset, iso->name, &ascii_name);
|
||||||
ret = str2ascii("UTF-8", iso->name, &ascii_name);
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
iso_msg_debug(img->image, "Can't convert %s", iso->name);
|
iso_msg_debug(img->image, "Can't convert %s", iso->name);
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -62,6 +62,9 @@ typedef struct {
|
|||||||
//int volnum; /**< The volume in the set which you want to write (usually 0) */
|
//int volnum; /**< The volume in the set which you want to write (usually 0) */
|
||||||
int level; /**< ISO level to write at. */
|
int level; /**< ISO level to write at. */
|
||||||
int flags; /**< Which extensions to support. */
|
int flags; /**< Which extensions to support. */
|
||||||
|
|
||||||
|
/* relaxed constraints */
|
||||||
|
unsigned int omit_version_numbers:1;
|
||||||
//int relaxed_constraints; /**< see ecma119_relaxed_constraints_flag */
|
//int relaxed_constraints; /**< see ecma119_relaxed_constraints_flag */
|
||||||
|
|
||||||
//unsigned int copy_eltorito:1;
|
//unsigned int copy_eltorito:1;
|
||||||
|
Loading…
Reference in New Issue
Block a user