Added code to xorriso for repairing "_" in all three PVD id file names
This commit is contained in:
parent
256091d944
commit
45b95cc158
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2009.10.05.183619"
|
||||
#define Xorriso_timestamP "2009.10.05.190215"
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user