From 1a0346a1a1d3275f84bbaa0a09ec4ba44ad26599 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 26 Sep 2008 12:10:32 +0000 Subject: [PATCH] Bug fix: -as mkisofs -iso-level was accused to be an unknown option --- libisoburn/trunk/xorriso/xorriso.c | 8 +++----- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libisoburn/trunk/xorriso/xorriso.c b/libisoburn/trunk/xorriso/xorriso.c index 2a045748..e2de0b97 100644 --- a/libisoburn/trunk/xorriso/xorriso.c +++ b/libisoburn/trunk/xorriso/xorriso.c @@ -8792,15 +8792,13 @@ not_enough_args:; goto ex; } else if(strcmp(argv[i], "-v")==0 || strcmp(argv[i], "-quiet")==0) { /* was already handled in first argument scan */; - + } else if(strcmp(argv[i], "-iso-level")==0) { + i++; + /* was already handled in first argument scan */; } else if(argv[i][0]=='-' && argv[i][1]!=0) { sprintf(xorriso->info_text, "-as %s: Unknown option %s", whom, Text_shellsafe(argv[i], sfe, 0)); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); - } else if(strcmp(argv[i], "-iso-level")==0) { - i++; - /* was already handled in first argument scan */; - } else { int zero= 0; diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 90d666e8..372694d6 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.09.24.155424" +#define Xorriso_timestamP "2008.09.26.120934"