From 917b4873436026600b6115006bb22c218acf90cc Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 28 Apr 2012 16:15:01 +0000 Subject: [PATCH] Now producing a FAIURE event with unknown mkisofs arguments which begin by dash --- xorriso/emulators.c | 9 ++++++--- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/xorriso/emulators.c b/xorriso/emulators.c index 98cfd862..70d17096 100644 --- a/xorriso/emulators.c +++ b/xorriso/emulators.c @@ -1852,11 +1852,14 @@ rr_reloc_dir:; Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); i+= count; goto problem_handler_2; - } else - goto is_pathspec_2; + } else { + 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 { -is_pathspec_2:; /* implementing mkisofs tendency to map single-path pathspecs to / */ if((!xorriso->allow_graft_points) || Fileliste__target_source_limit(argv[i], '=', &ept, 0)<=0) { diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index a9d30875..2637e0b3 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2012.04.25.191110" +#define Xorriso_timestamP "2012.04.28.161532"