From d2716cc2b528f5c5f08714176d9b6d21cdd99114 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 13 Apr 2011 20:45:01 +0000 Subject: [PATCH] Bug fix: mkisofs emulation could ignore options (regression in 0.1.6) --- xorriso/emulators.c | 3 ++- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/xorriso/emulators.c b/xorriso/emulators.c index 0c3f3192..17dc2520 100644 --- a/xorriso/emulators.c +++ b/xorriso/emulators.c @@ -1132,12 +1132,13 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom, } else if(strcmp(argpt, "--no-emul-toc")==0) { with_emul_toc= 0; xorriso->no_emul_toc|= 1; - } else + } else { was_other_option= 1; hargv[0]= argpt; ret= Xorriso_genisofs_count_args(xorriso, argc - i, hargv, &count, 0); if(ret > 0) i+= count; /* skip eventual arguments of known option */ + } continue; /* regular bottom of loop */ problem_handler_1:; was_failure= 1; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 1505889a..0ffc2b4e 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.04.09.105219" +#define Xorriso_timestamP "2011.04.13.204236"