"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xorriso/base_obj.c" between
libisoburn-1.5.0.tar.gz and libisoburn-1.5.2.tar.gz

About: libisoburn is a frontend for the libraries libburn and libisofs which enables creation and expansion of ISO-9660 filesystems on all media and file types supported by libburn. It implements the API and command interpreter of program xorriso, and installs this program as small dynamically linked binary. xorriso is suitable for incremental data backup and for production of bootable ISO 9660 images. A statically linked version is available as GNU xorriso.

base_obj.c  (libisoburn-1.5.0):base_obj.c  (libisoburn-1.5.2)
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images. /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2017 Thomas Schmitt, <scdbackup@gmx.net> Copyright 2007-2019 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later. Provided under GPL version 2 or later.
This file contains functions which are needed to read data This file contains functions which are needed to read data
from ISO image. from ISO image.
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "../config.h" #include "../config.h"
#endif #endif
skipping to change at line 201 skipping to change at line 201
m->drive_blacklist= NULL; m->drive_blacklist= NULL;
m->drive_greylist= NULL; m->drive_greylist= NULL;
m->drive_whitelist= NULL; m->drive_whitelist= NULL;
m->toc_emulation_flag= 0; m->toc_emulation_flag= 0;
m->image_start_mode= 0; m->image_start_mode= 0;
m->image_start_value[0]= 0; m->image_start_value[0]= 0;
m->displacement= 0; m->displacement= 0;
m->displacement_sign= 0; m->displacement_sign= 0;
m->read_fs= 0; m->read_fs= 0;
m->drives_exclusive= 1; m->drives_exclusive= 1;
m->drives_access= 1;
m->linux_scsi_dev_family= 0; m->linux_scsi_dev_family= 0;
m->early_stdio_test= 0; m->early_stdio_test= 0;
m->cache_num_tiles= 0; m->cache_num_tiles= 0;
m->cache_tile_blocks= 0; m->cache_tile_blocks= 0;
m->cache_default= 1 | 2; m->cache_default= 1 | 2;
m->do_calm_drive= 1; m->do_calm_drive= 1;
m->indev[0]= 0; m->indev[0]= 0;
m->in_drive_handle= NULL; m->in_drive_handle= NULL;
m->in_volset_handle= NULL; m->in_volset_handle= NULL;
m->in_charset= NULL; m->in_charset= NULL;
m->isofs_st_out= time(0) - 1; m->isofs_st_out= time(0) - 1;
m->indev_is_exclusive= 1; m->indev_is_exclusive= 1;
m->indev_access= 1;
m->indev_off_adr[0]= 0; m->indev_off_adr[0]= 0;
m->isofs_st_in= 0; m->isofs_st_in= 0;
m->volset_change_pending= 0; m->volset_change_pending= 0;
m->no_volset_present= 0; m->no_volset_present= 0;
m->in_sector_map= NULL; m->in_sector_map= NULL;
m->check_media_default= NULL; m->check_media_default= NULL;
m->check_media_bad_limit= Xorriso_read_quality_invaliD; m->check_media_bad_limit= Xorriso_read_quality_invaliD;
m->outdev[0]= 0; m->outdev[0]= 0;
m->out_drive_handle= NULL; m->out_drive_handle= NULL;
m->out_charset= NULL; m->out_charset= NULL;
m->dev_fd_1= -1; m->dev_fd_1= -1;
m->outdev_is_exclusive= 1; m->outdev_is_exclusive= 1;
m->outdev_access= 1;
m->outdev_off_adr[0]= 0; m->outdev_off_adr[0]= 0;
m->grow_blindly_msc2= -1; m->grow_blindly_msc2= -1;
m->ban_stdio_write= 0; m->ban_stdio_write= 0;
m->do_dummy= 0; m->do_dummy= 0;
m->do_close= 0; m->do_close= 0;
m->auto_close= 0; m->auto_close= 0;
m->write_speed= 0; /* max */ m->write_speed= 0; /* max */
m->read_speed= -2; /* do not set */ m->read_speed= -2; /* do not set */
m->fs= 4*512; /* 4 MiB */ m->fs= 4*512; /* 4 MiB */
m->padding= 300*1024; m->padding= 300*1024;
skipping to change at line 284 skipping to change at line 287
m->system_area_options= 0; m->system_area_options= 0;
m->patch_system_area= 0; m->patch_system_area= 0;
m->partition_offset= 0; m->partition_offset= 0;
m->partition_secs_per_head= 0; m->partition_secs_per_head= 0;
m->partition_heads_per_cyl= 0; m->partition_heads_per_cyl= 0;
m->prep_partition[0]= 0; m->prep_partition[0]= 0;
m->efi_boot_partition[0]= 0; m->efi_boot_partition[0]= 0;
for(i= 0; i < Xorriso_max_appended_partitionS; i++) { for(i= 0; i < Xorriso_max_appended_partitionS; i++) {
m->appended_partitions[i]= NULL; m->appended_partitions[i]= NULL;
m->appended_part_types[i]= 0; m->appended_part_types[i]= 0;
memset(m->appended_part_type_guids[i], 0, 16);
m->appended_part_gpt_flags[i]= 0;
} }
m->appended_as_gpt= 0; m->appended_as_gpt= 0;
m->appended_as_apm= 0; m->appended_as_apm= 0;
m->part_like_isohybrid= 0; m->part_like_isohybrid= 0;
m->iso_mbr_part_type= -1; m->iso_mbr_part_type= -1;
memset(m->iso_gpt_type_guid, 0, 16);
m->iso_mbr_part_flag= 0;
memset(m->gpt_guid, 0, 16); memset(m->gpt_guid, 0, 16);
m->gpt_guid_mode= 0; m->gpt_guid_mode= 0;
m->ascii_disc_label[0]= 0; m->ascii_disc_label[0]= 0;
m->grub2_sparc_core[0]= 0; m->grub2_sparc_core[0]= 0;
memset(m->hfsp_serial_number, 0, 8); memset(m->hfsp_serial_number, 0, 8);
m->hfsp_block_size= 0; m->hfsp_block_size= 0;
m->apm_block_size= 0; m->apm_block_size= 0;
m->vol_creation_time= 0; m->vol_creation_time= 0;
m->vol_modification_time= 0; m->vol_modification_time= 0;
m->vol_expiration_time= 0; m->vol_expiration_time= 0;
m->vol_effective_time= 0; m->vol_effective_time= 0;
m->vol_uuid[0]= 0; m->vol_uuid[0]= 0;
m->all_file_dates[0]= 0; m->all_file_dates[0]= 0;
m->do_override_now_time= 0;
m->now_time_override= 0;
#ifdef Xorriso_with_libjtE #ifdef Xorriso_with_libjtE
m->libjte_handle= NULL; m->libjte_handle= NULL;
#endif #endif
m->jigdo_params= NULL; m->jigdo_params= NULL;
m->jigdo_values= NULL; m->jigdo_values= NULL;
m->libjte_params_given= 0; m->libjte_params_given= 0;
m->loaded_boot_bin_lba= 0; m->loaded_boot_bin_lba= 0;
m->loaded_boot_cat_path[0]= 0; m->loaded_boot_cat_path[0]= 0;
skipping to change at line 462 skipping to change at line 471
m->info_text[0]= 0; m->info_text[0]= 0;
/* Here begin actions which might fail */ /* Here begin actions which might fail */
ret= Sfile_leafname(progname, leafname, 0); ret= Sfile_leafname(progname, leafname, 0);
if(ret<=0) if(ret<=0)
goto failure; goto failure;
if(strcmp(leafname, "osirrox")==0) { if(strcmp(leafname, "osirrox")==0) {
m->allow_restore= 1; m->allow_restore= 1;
m->drives_exclusive= 0; m->drives_exclusive= 0;
m->drives_access= 0;
} else if(strcmp(leafname, "xorrisofs")==0 || strcmp(leafname, "genisofs")==0 | | } else if(strcmp(leafname, "xorrisofs")==0 || strcmp(leafname, "genisofs")==0 | |
strcmp(leafname, "mkisofs")==0 || strcmp(leafname, "genisoimage")==0) { strcmp(leafname, "mkisofs")==0 || strcmp(leafname, "genisoimage")==0) {
m->argument_emulation= 1; m->argument_emulation= 1;
m->pacifier_style= 1; m->pacifier_style= 1;
Xorriso_protect_stdout(*xorriso, 0); Xorriso_protect_stdout(*xorriso, 0);
} else if(strcmp(leafname, "xorrecord")==0 || strcmp(leafname, "wodim")==0 || } else if(strcmp(leafname, "xorrecord")==0 || strcmp(leafname, "wodim")==0 ||
strcmp(leafname, "cdrecord")==0 || strcmp(leafname, "cdrskin")==0) { strcmp(leafname, "cdrecord")==0 || strcmp(leafname, "cdrskin")==0) {
m->argument_emulation= 2; m->argument_emulation= 2;
m->pacifier_style= 2; m->pacifier_style= 2;
} }
 End of changes. 8 change blocks. 
1 lines changed or deleted 11 lines changed or added

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