Normalized paths to target and source before adding or removing from image
This commit is contained in:
@@ -644,11 +644,21 @@ int Xorriso_graft_in(struct XorrisO *xorriso, char *disk_path, char *img_path,
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
return(0);
|
||||
}
|
||||
|
||||
/* >>> copy properties from correspondent directory in disk_path
|
||||
if there is any */;
|
||||
|
||||
}
|
||||
if(done) {
|
||||
attach_source:;
|
||||
if(is_dir) {
|
||||
|
||||
/* >>> do this by own recursive operation in order to gain
|
||||
full control with overwriting */;
|
||||
|
||||
iso_tree_radd_dir(dir, disk_path, &behav);
|
||||
|
||||
|
||||
} else {
|
||||
node= iso_tree_add_node(dir, disk_path);
|
||||
if(node == NULL) {
|
||||
|
Reference in New Issue
Block a user