|
|
|
@ -1624,15 +1624,17 @@ int Xorriso_prescan_args(struct XorrisO *xorriso, int argc, char **argv,
|
|
|
|
|
"stdio:/dev/fd/1" is interpreted as drive address.
|
|
|
|
|
*/
|
|
|
|
|
protect_stdout:;
|
|
|
|
|
Xorriso_protect_stdout(xorriso, 0);
|
|
|
|
|
sprintf(xorriso->info_text,
|
|
|
|
|
ret= Xorriso_protect_stdout(xorriso, 0);
|
|
|
|
|
if(ret == 1) {
|
|
|
|
|
sprintf(xorriso->info_text,
|
|
|
|
|
"Encountered - or stdio:/dev/fd/1 as possible write target.");
|
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
|
|
|
|
|
sprintf(xorriso->info_text,
|
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
|
|
|
|
|
sprintf(xorriso->info_text,
|
|
|
|
|
"Redirecting nearly all text message output to stderr.");
|
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
|
|
|
|
|
sprintf(xorriso->info_text, "Disabling use of libreadline.");
|
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
|
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
|
|
|
|
|
sprintf(xorriso->info_text, "Disabling use of libreadline.");
|
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else if(strcmp(cmd,"abort_on")==0 && was_dashed == 1) {
|
|
|
|
|
i++;
|
|
|
|
@ -1691,8 +1693,8 @@ protect_stdout:;
|
|
|
|
|
ret= Xorriso_count_args(xorriso, argc - i, argv + i, &arg_count, 1);
|
|
|
|
|
if(ret == 1) {
|
|
|
|
|
i+= arg_count;
|
|
|
|
|
} else if((was_dashed && xorriso->add_plainly <= 1) ||
|
|
|
|
|
xorriso->add_plainly <= 0) {
|
|
|
|
|
} else if((flag & 2) && ((was_dashed && xorriso->add_plainly <= 1) ||
|
|
|
|
|
xorriso->add_plainly <= 0)) {
|
|
|
|
|
sprintf(xorriso->info_text, "Not a known option: '%s'\n",
|
|
|
|
|
original_cmd);
|
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
|
|
|
|