Made use of Text_shellsafe bit1 for messages with two file names
This commit is contained in:
@ -889,7 +889,7 @@ int Xorriso_lsx_filev(struct XorrisO *xorriso, char *wd,
|
||||
if(link_target[0]) {
|
||||
Text_shellsafe(filev[i], xorriso->result_line, 1);
|
||||
strcat(xorriso->result_line, " -> ");
|
||||
Text_shellsafe(link_target, xorriso->result_line, 1);
|
||||
Text_shellsafe(link_target, xorriso->result_line, 1 | 2);
|
||||
} else {
|
||||
Text_shellsafe(filev[i], xorriso->result_line, 1);
|
||||
}
|
||||
@ -1710,7 +1710,7 @@ int Xorriso_restore_make_hl(struct XorrisO *xorriso,
|
||||
sprintf(xorriso->info_text, "Hardlinking failed: ");
|
||||
Text_shellsafe(new_path, xorriso->info_text, 1);
|
||||
strcat(xorriso->info_text, " -> ");
|
||||
Text_shellsafe(old_path, xorriso->info_text, 1);
|
||||
Text_shellsafe(old_path, xorriso->info_text, 1 | 2);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, errno, "WARNING", 0);
|
||||
return(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user