"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xorriso/opts_d_h.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.

opts_d_h.c  (xorriso-1.4.6):opts_d_h.c  (xorriso-1.4.8)
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images. /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2016 Thomas Schmitt, <scdbackup@gmx.net> Copyright 2007-2017 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later. Provided under GPL version 2 or later.
This file contains the implementation of commands as mentioned in man page This file contains the implementation of commands as mentioned in man page
or info file derived from xorriso.texi. or info file derived from xorriso.texi.
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "../config.h" #include "../config.h"
#endif #endif
skipping to change at line 1013 skipping to change at line 1013
i++; i++;
sscanf(argv[i], "%d", &count); sscanf(argv[i], "%d", &count);
if(count < 64 || count > 255) { if(count < 64 || count > 255) {
sprintf(xorriso->info_text, sprintf(xorriso->info_text,
"-findi: wrong length with -name_limit_blocker [64...255]"); "-findi: wrong length with -name_limit_blocker [64...255]");
goto sorry_ex; goto sorry_ex;
} }
ret= Findjob_set_num_filter(job, 24, count, 0, 0); ret= Findjob_set_num_filter(job, 24, count, 0, 0);
if(ret <= 0) if(ret <= 0)
goto ex; goto ex;
} else if(strcmp(argv[i], "-maxdepth") == 0 ||
strcmp(argv[i], "-mindepth") == 0) {
if(i + 1 >= end_idx)
goto not_enough_arguments;
i++;
count= -1;
sscanf(argv[i], "%d", &count);
if(count < 0) {
sprintf(xorriso->info_text,
"-findi: wrong length with %s [>= 0]", argv[i - 1]);
goto sorry_ex;
}
ret= Findjob_set_num_filter(job,
25 + (strcmp(argv[i - 1], "-mindepth") == 0),
count, 0, 0);
if(ret <= 0)
goto ex;
} else if(strcmp(argv[i], "-exec")==0) { } else if(strcmp(argv[i], "-exec")==0) {
if(i+1>=end_idx) { if(i+1>=end_idx) {
not_enough_exec_arguments:; not_enough_exec_arguments:;
sprintf(xorriso->info_text, sprintf(xorriso->info_text,
"-find[ix]: not enough parameters with -exec "); "-find[ix]: not enough parameters with -exec ");
Text_shellsafe(argv[i], xorriso->info_text, 1); Text_shellsafe(argv[i], xorriso->info_text, 1);
goto sorry_ex; goto sorry_ex;
} }
i++; i++;
cpt= argv[i]; cpt= argv[i];
skipping to change at line 1814 skipping to change at line 1831
" -boot_image \"any\"|\"isolinux\"|\"grub\"", " -boot_image \"any\"|\"isolinux\"|\"grub\"",
" |\"discard\"|\"keep\"|\"patch\"|\"replay\"", " |\"discard\"|\"keep\"|\"patch\"|\"replay\"",
" |\"dir=\"|\"bin_path=\"", " |\"dir=\"|\"bin_path=\"",
" |\"cat_path=\"|\"cat_hidden=on|iso_rr|joliet|off\"", " |\"cat_path=\"|\"cat_hidden=on|iso_rr|joliet|off\"",
" |\"load_size=\"|\"boot_info_table=\"", " |\"load_size=\"|\"boot_info_table=\"",
" |\"grub2_boot_info=\"|\"grub2_mbr=\"|\"partition_offset=\"", " |\"grub2_boot_info=\"|\"grub2_mbr=\"|\"partition_offset=\"",
" |\"partition_hd_cyl=\"|\"partition_sec_hd=\"", " |\"partition_hd_cyl=\"|\"partition_sec_hd=\"",
" |\"partition_cyl_align=\"|\"mbr_force_bootable=\"", " |\"partition_cyl_align=\"|\"mbr_force_bootable=\"",
" |\"system_area=\"|\"partition_table=on|off\"", " |\"system_area=\"|\"partition_table=on|off\"",
" |\"partition_entry=\"|\"appended_part_as=\"", " |\"partition_entry=\"|\"appended_part_as=\"",
" |\"part_like_isohybrid=\"|\"gpt_disk_guid=\"", " |\"part_like_isohybrid=\"|\"iso_mbr_part_type=\"",
" |\"gpt_disk_guid=\"",
" |\"chrp_boot_part=on|off=\"|\"prep_boot_part=\"", " |\"chrp_boot_part=on|off=\"|\"prep_boot_part=\"",
" |\"efi_boot_part=\"|\"efi_boot_part=--efi-boot-image\"", " |\"efi_boot_part=\"|\"efi_boot_part=--efi-boot-image\"",
" |\"mips_path=\"|\"mipsel_path=\"|\"mips_discard\"", " |\"mips_path=\"|\"mipsel_path=\"|\"mips_discard\"",
" |\"sparc_label=\"|\"grub2_sparc_core=\"|\"sparc_discard\"", " |\"sparc_label=\"|\"grub2_sparc_core=\"|\"sparc_discard\"",
" |\"hppa_cmdline=\"|\"hppa_bootloader=\"|\"hppa_kernel_32=\"", " |\"hppa_cmdline=\"|\"hppa_bootloader=\"|\"hppa_kernel_32=\"",
" |\"hppa_kernel_64=\"|\"hppa_ramdisk=\"|\"hppa_hdrversion=\"", " |\"hppa_kernel_64=\"|\"hppa_ramdisk=\"|\"hppa_hdrversion=\"",
" |\"hppa_discard\"|\"alpha_boot=\"|\"alpha_discard\"", " |\"hppa_discard\"|\"alpha_boot=\"|\"alpha_discard\"",
" |\"hfsplus_serial=\"|\"hfsplus_block_size=\"", " |\"hfsplus_serial=\"|\"hfsplus_block_size=\"",
" |\"apm_block_size=\"|\"show_status\"", " |\"apm_block_size=\"|\"show_status\"",
" Whether to discard or keep an exiting El Torito boot image,", " Whether to discard or keep an exiting El Torito boot image,",
skipping to change at line 1940 skipping to change at line 1958
" Like -map but with directory do not insert its sub tree.", " Like -map but with directory do not insert its sub tree.",
" -map_l disk_prefix iso_rr_prefix disk_path [***]", " -map_l disk_prefix iso_rr_prefix disk_path [***]",
" Performs -map with each disk_path.", " Performs -map with each disk_path.",
" -update disk_path iso_rr_path", " -update disk_path iso_rr_path",
" Compare both file objects and do what is necessary to make", " Compare both file objects and do what is necessary to make",
" iso_rr_path a matching copy of disk_path.", " iso_rr_path a matching copy of disk_path.",
" -update_r disk_path iso_rr_path", " -update_r disk_path iso_rr_path",
" Like -update but affecting all files below directories.", " Like -update but affecting all files below directories.",
" -update_l disk_prefix iso_rr_prefix disk_path [***]", " -update_l disk_prefix iso_rr_prefix disk_path [***]",
" Performs -update_r with each disk_path.", " Performs -update_r with each disk_path.",
" -update_li iso_rr_prefix disk_prefix iso_rr_path [***]",
" Performs -update_r with each iso_rr_path.",
" -update_lxi disk_prefix iso_rr_prefix disk_or_iso_rr_path [***]",
" Performs -update_r with each disk_path or corresponding",
" iso_rr_path after exchange of disk_prefix by iso_rr_prefix.",
" -cut_out disk_path byte_offset byte_count iso_rr_path", " -cut_out disk_path byte_offset byte_count iso_rr_path",
" Map a byte interval of a regular disk file into a regular", " Map a byte interval of a regular disk file into a regular",
" file in the ISO image.", " file in the ISO image.",
"", "",
" -cpr disk_path [***] iso_rr_path", " -cpr disk_path [***] iso_rr_path",
" Insert the given files or directory trees from filesystem", " Insert the given files or directory trees from filesystem",
" into the ISO image, according to the rules of cp -r.", " into the ISO image, according to the rules of cp -r.",
"", "",
" -rm iso_rr_path [***]", " -rm iso_rr_path [***]",
" Delete the given files from the ISO image.", " Delete the given files from the ISO image.",
skipping to change at line 2004 skipping to change at line 2027
" Keep names of files out of directory trees, but store their", " Keep names of files out of directory trees, but store their",
" data content in the image.", " data content in the image.",
" -find iso_rr_path [test [op] [test ...]] [-exec action [params]]", " -find iso_rr_path [test [op] [test ...]] [-exec action [params]]",
" performs an action on files below the given directory in", " performs an action on files below the given directory in",
" the ISO image. Tests:", " the ISO image. Tests:",
" -name pattern, -wholename pattern, -disk_name pattern,", " -name pattern, -wholename pattern, -disk_name pattern,",
" -type b|c|d|p|f|l|s|e, -pending_data, -hidden,", " -type b|c|d|p|f|l|s|e, -pending_data, -hidden,",
" -lba_range start count, -damaged, -has_acl, -has_xattr,", " -lba_range start count, -damaged, -has_acl, -has_xattr,",
" -has_aaip, -has_filter, -has_md5, -has_any_xattr,", " -has_aaip, -has_filter, -has_md5, -has_any_xattr,",
" -has_hfs_crtp, -has_hfs_bless, -bad_outname,", " -has_hfs_crtp, -has_hfs_bless, -bad_outname,",
" -name_limit_blocker", " -name_limit_blocker, -maxdepth, -mindepth,",
" -prune, -decision yes|no, -true, -false", " -prune, -decision yes|no, -true, -false",
" Operators: -not, -or, -and, -sub, (, -subend, ),", " Operators: -not, -or, -and, -sub, (, -subend, ),",
" -if, -then, -elseif, -else, -endif", " -if, -then, -elseif, -else, -endif",
" Action may be one of: echo, chown, chown_r, chgrp, chgrp_r,", " Action may be one of: echo, chown, chown_r, chgrp, chgrp_r,",
" chmod, chmod_r, alter_date, alter_date_r, set_to_mtime,", " chmod, chmod_r, alter_date, alter_date_r, set_to_mtime,",
" lsdl, compare, rm, rm_r, compare, update, report_damage,", " lsdl, compare, rm, rm_r, compare, update, report_damage,",
" report_lba, report_sections,", " report_lba, report_sections,",
" getfacl, setfacl, getfattr, setfattr, get_any_xattr,", " getfacl, setfacl, getfattr, setfattr, get_any_xattr,",
" list_extattr, get_md5, check_md5, make_md5,", " list_extattr, get_md5, check_md5, make_md5,",
" set_hfs_crtp, get_hfs_crtp, set_hfs_bless, get_hfs_bless,", " set_hfs_crtp, get_hfs_crtp, set_hfs_bless, get_hfs_bless,",
 End of changes. 5 change blocks. 
3 lines changed or deleted 26 lines changed or added

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