Now producing a FAIURE event with unknown mkisofs arguments which begin by dash

This commit is contained in:
Thomas Schmitt 2012-04-28 16:15:01 +00:00
parent 2deeff2779
commit f0d4714db6
2 changed files with 7 additions and 4 deletions

View File

@ -1852,11 +1852,14 @@ rr_reloc_dir:;
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
i+= count; i+= count;
goto problem_handler_2; goto problem_handler_2;
} else } else {
goto is_pathspec_2; sprintf(xorriso->info_text, "-as %s: Unrecognized option %s",
whom, Text_shellsafe(argv[i], sfe, 0));
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
goto problem_handler_2;
}
} }
} else { } else {
is_pathspec_2:;
/* implementing mkisofs tendency to map single-path pathspecs to / */ /* implementing mkisofs tendency to map single-path pathspecs to / */
if((!xorriso->allow_graft_points) || if((!xorriso->allow_graft_points) ||
Fileliste__target_source_limit(argv[i], '=', &ept, 0)<=0) { Fileliste__target_source_limit(argv[i], '=', &ept, 0)<=0) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.04.25.191110" #define Xorriso_timestamP "2012.04.28.161532"