Normalized paths to target and source before adding or removing from image

This commit is contained in:
2007-10-24 10:02:15 +00:00
parent e7d72ecfa4
commit 64bf184789
3 changed files with 28 additions and 3 deletions

View File

@@ -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) {