Bug fix: mkisofs emulation could ignore options (regression in 0.1.6)
This commit is contained in:
parent
78e9d89fe4
commit
d2716cc2b5
@ -1132,12 +1132,13 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
|
|||||||
} else if(strcmp(argpt, "--no-emul-toc")==0) {
|
} else if(strcmp(argpt, "--no-emul-toc")==0) {
|
||||||
with_emul_toc= 0;
|
with_emul_toc= 0;
|
||||||
xorriso->no_emul_toc|= 1;
|
xorriso->no_emul_toc|= 1;
|
||||||
} else
|
} else {
|
||||||
was_other_option= 1;
|
was_other_option= 1;
|
||||||
hargv[0]= argpt;
|
hargv[0]= argpt;
|
||||||
ret= Xorriso_genisofs_count_args(xorriso, argc - i, hargv, &count, 0);
|
ret= Xorriso_genisofs_count_args(xorriso, argc - i, hargv, &count, 0);
|
||||||
if(ret > 0)
|
if(ret > 0)
|
||||||
i+= count; /* skip eventual arguments of known option */
|
i+= count; /* skip eventual arguments of known option */
|
||||||
|
}
|
||||||
continue; /* regular bottom of loop */
|
continue; /* regular bottom of loop */
|
||||||
problem_handler_1:;
|
problem_handler_1:;
|
||||||
was_failure= 1;
|
was_failure= 1;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2011.04.09.105219"
|
#define Xorriso_timestamP "2011.04.13.204236"
|
||||||
|
Loading…
Reference in New Issue
Block a user