Corrected premature abort bug with misspelled command words

master
Thomas Schmitt 15 years ago
parent 146debc163
commit 7be61dca7c

@ -6077,17 +6077,17 @@ next_command:;
printf("XORRISO: -test : enter a line for test parsing\n");
ret= Xorriso_dialog_input(xorriso,line,sizeof(line),4);
if(ret<=0)
goto ex;
goto eval_any_problems;
ret= Sfile_make_argv(xorriso->progname, line, &hargc, &hargv, 4|8);
if(ret<=0) {
fprintf(stderr, "--- Malformed quotation marking encountered\n");
goto ex;
goto eval_any_problems;
}
for(i=0; i<hargc; i++) {
sprintf(xorriso->result_line,"%d : |%s|\n", i, hargv[i]);
ret= Xorriso_result(xorriso,0);
if(ret<=0)
goto ex;
goto eval_any_problems;
}
Sfile_make_argv(xorriso->progname, line, &hargc, &hargv, 2);
@ -6119,7 +6119,7 @@ unknown_option:;
sprintf(xorriso->info_text+strlen(xorriso->info_text),
"=== '%s'\n",cmd);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
{ret= 0; goto ex;}
{ret= 0; goto eval_any_problems;}
} else {
goto unknown_option;
@ -6130,6 +6130,7 @@ unknown_option:;
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0);
}
eval_any_problems:
ret= Xorriso_eval_problem_status(xorriso, ret, 0);
if(ret<0)
return(ret);

@ -1 +1 @@
#define Xorriso_timestamP "2007.11.14.143119"
#define Xorriso_timestamP "2007.11.14.175446"

Loading…
Cancel
Save