Fixed refusal to run with command -as introduced by rev 3819

master
Thomas Schmitt 12 years ago
parent d810dc7064
commit 32e3389739
  1. 10
      xorriso/parse_exec.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -1657,9 +1657,13 @@ protect_stdout:;
was_return_with= 1;
} else if(strcmp(cmd,"as")==0 && was_dashed == 1) {
if(strcmp(arg1, "mkisofs")==0 || strcmp(arg1, "genisoimage")==0 ||
strcmp(arg1, "genisofs")==0 || strcmp(arg1, "xorrisofs")==0)
goto protect_stdout;
ret= Xorriso_count_args(xorriso, argc - i, argv + i, &arg_count, 1);
if(ret == 1)
i+= arg_count;
if(was_dashed == 1)
if(strcmp(arg1, "mkisofs")==0 || strcmp(arg1, "genisoimage")==0 ||
strcmp(arg1, "genisofs")==0 || strcmp(arg1, "xorrisofs")==0)
goto protect_stdout;
} else if(strcmp(cmd, "list_delimiter") == 0) {
/* Needed for interpreting other args. Gets reset after prescan. */

@ -1 +1 @@
#define Xorriso_timestamP "2011.05.17.151719"
#define Xorriso_timestamP "2011.05.18.063511"

Loading…
Cancel
Save