Bug fix: mkisofs emulation could ignore options (regression in 0.1.6)

master
Thomas Schmitt 12 years ago
parent 78e9d89fe4
commit d2716cc2b5
  1. 3
      xorriso/emulators.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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;

@ -1 +1 @@
#define Xorriso_timestamP "2011.04.09.105219"
#define Xorriso_timestamP "2011.04.13.204236"

Loading…
Cancel
Save