"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libisoburn/isoburn.c" between
xorriso-1.4.6.tar.gz and xorriso-1.4.8.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

isoburn.c  (xorriso-1.4.6):isoburn.c  (xorriso-1.4.8)
/* /*
cc -g -c isoburn.c cc -g -c isoburn.c
*/ */
/* /*
Class core of libisoburn. Class core of libisoburn.
Copyright 2007 - 2016 Vreixo Formoso Lopes <metalpain2002@yahoo.es> Copyright 2007 - 2017 Vreixo Formoso Lopes <metalpain2002@yahoo.es>
Thomas Schmitt <scdbackup@gmx.net> Thomas Schmitt <scdbackup@gmx.net>
Provided under GPL version 2 or later. Provided under GPL version 2 or later.
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "../config.h" #include "../config.h"
#endif #endif
/* ( derived from stub generated by CgeN on Sat, 01 Sep 2007 12:04:36 GMT ) */ /* ( derived from stub generated by CgeN on Sat, 01 Sep 2007 12:04:36 GMT ) */
skipping to change at line 541 skipping to change at line 541
opts->appended_part_flags[i]); opts->appended_part_flags[i]);
if(ret < 0) { if(ret < 0) {
isoburn_report_iso_error(ret, "Cannot set path for appended partition", isoburn_report_iso_error(ret, "Cannot set path for appended partition",
0, "FAILURE", 0); 0, "FAILURE", 0);
{ret= -1; goto ex;} {ret= -1; goto ex;}
} }
} }
iso_write_opts_set_appended_as_gpt(wopts, opts->appended_as_gpt); iso_write_opts_set_appended_as_gpt(wopts, opts->appended_as_gpt);
iso_write_opts_set_appended_as_apm(wopts, opts->appended_as_apm); iso_write_opts_set_appended_as_apm(wopts, opts->appended_as_apm);
iso_write_opts_set_part_like_isohybrid(wopts, opts->part_like_isohybrid); iso_write_opts_set_part_like_isohybrid(wopts, opts->part_like_isohybrid);
iso_write_opts_set_iso_mbr_part_type(wopts, opts->iso_mbr_part_type);
iso_write_opts_set_disc_label(wopts, opts->ascii_disc_label); iso_write_opts_set_disc_label(wopts, opts->ascii_disc_label);
ret= 1; ret= 1;
ex: ex:
return(ret); return(ret);
} }
/* @param flag bit0= modifying rather than growing /* @param flag bit0= modifying rather than growing
bit1= prepare for early release of input drive: bit1= prepare for early release of input drive:
wait until input and then disable image data source wait until input and then disable image data source
skipping to change at line 1132 skipping to change at line 1133
o->efi_boot_partition= NULL; o->efi_boot_partition= NULL;
o->efi_boot_part_flag= 0; o->efi_boot_part_flag= 0;
for(i= 0; i < Libisoburn_max_appended_partitionS; i++) { for(i= 0; i < Libisoburn_max_appended_partitionS; i++) {
o->appended_partitions[i]= NULL; o->appended_partitions[i]= NULL;
o->appended_part_types[i]= 0; o->appended_part_types[i]= 0;
o->appended_part_flags[i]= 0; o->appended_part_flags[i]= 0;
} }
o->appended_as_gpt= 0; o->appended_as_gpt= 0;
o->appended_as_apm= 0; o->appended_as_apm= 0;
o->part_like_isohybrid= 0; o->part_like_isohybrid= 0;
o->iso_mbr_part_type= -1;
memset(o->gpt_guid, 0, 16); memset(o->gpt_guid, 0, 16);
o->gpt_guid_mode= 0; o->gpt_guid_mode= 0;
memset(o->hfsp_serial_number, 0, 8); memset(o->hfsp_serial_number, 0, 8);
o->hfsp_block_size= 0; o->hfsp_block_size= 0;
o->apm_block_size= 0; o->apm_block_size= 0;
o->do_tao= 0; o->do_tao= 0;
o->do_fsync= 0; o->do_fsync= 0;
return(1); return(1);
} }
skipping to change at line 1715 skipping to change at line 1717
return(1); return(1);
} }
int isoburn_igopt_get_part_like_isohybrid(struct isoburn_imgen_opts *opts, int isoburn_igopt_get_part_like_isohybrid(struct isoburn_imgen_opts *opts,
int *alike) int *alike)
{ {
*alike= opts->part_like_isohybrid; *alike= opts->part_like_isohybrid;
return(1); return(1);
} }
int isoburn_igopt_set_iso_mbr_part_type(struct isoburn_imgen_opts *opts,
int part_type)
{
if(part_type < -1 || part_type > 255)
part_type = -1;
opts->iso_mbr_part_type = part_type;
return(1);
}
int isoburn_igopt_get_iso_mbr_part_type(struct isoburn_imgen_opts *opts,
int *part_type)
{
*part_type= opts->iso_mbr_part_type;
return(1);
}
int isoburn_igopt_set_gpt_guid(struct isoburn_imgen_opts *opts, int isoburn_igopt_set_gpt_guid(struct isoburn_imgen_opts *opts,
uint8_t guid[16], int mode) uint8_t guid[16], int mode)
{ {
if(mode < 0 || mode > 2) { if(mode < 0 || mode > 2) {
isoburn_msgs_submit(NULL, 0x00060000, isoburn_msgs_submit(NULL, 0x00060000,
"Unrecognized GPT disk GUID setup mode. (0 ... 2)", "Unrecognized GPT disk GUID setup mode. (0 ... 2)",
0, "FAILURE", 0); 0, "FAILURE", 0);
return(0); return(0);
} }
opts->gpt_guid_mode= mode; opts->gpt_guid_mode= mode;
 End of changes. 4 change blocks. 
1 lines changed or deleted 19 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)