diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index d954a766..d48a8611 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.10.05.183619" +#define Xorriso_timestamP "2009.10.05.190215" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index 5124f911..814c8c38 100644 --- a/xorriso/xorrisoburn.c +++ b/xorriso/xorrisoburn.c @@ -1233,6 +1233,22 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag) Sfile_str(xorriso->publisher, (char *) un0(iso_image_get_publisher_id(volset)), 0); + /* <<< can be removed as soon as libisofs-0.6.24 is mandatory + */ + if(strcmp(un0(iso_image_get_copyright_file_id(volset)), "_") == 0 && + strcmp(un0(iso_image_get_abstract_file_id(volset)), "_") == 0 && + strcmp(un0(iso_image_get_biblio_file_id(volset)), "_") == 0) { + /* This is bug output from libisofs <= 0.6.23 . The texts mean file names + and should have been empty to indicate that there are no such files. + It is obvious that not all three roles can be fulfilled by one file "_" + so that one cannot spoil anything by assuming them empty now. + Modern versions of libisofs are supposed to do this themselves. + */ + iso_image_set_copyright_file_id(volset, ""); + iso_image_set_abstract_file_id(volset, ""); + iso_image_set_biblio_file_id(volset, ""); + } + if(xorriso->out_drive_handle != NULL && xorriso->out_drive_handle != xorriso->in_drive_handle) { ret= Xorriso_get_drive_handles(xorriso, &out_dinfo, &out_drive,