Bug fix: -as mkisofs -old-root did not work with -graft-points

This commit is contained in:
Thomas Schmitt 2011-02-26 10:01:52 +00:00
parent 9049784c1c
commit 420535c275
2 changed files with 6 additions and 6 deletions

View File

@ -1577,20 +1577,20 @@ is_pathspec_2:;
pathspec[0]= 0; pathspec[0]= 0;
} }
strcat(pathspec, eff_path); strcat(pathspec, eff_path);
add_pt= pathspec;
} else } else
add_pt= argv[i]; Sfile_str(pathspec, argv[i], 0);
add_pt= pathspec;
if(old_root[0]) { if(old_root[0]) {
/* Split pathspec */ /* Split pathspec */
ret= Fileliste__target_source_limit(pathspec, '=', &ept, 0); ret= Fileliste__target_source_limit(add_pt, '=', &ept, 0);
if(ret > 0) { if(ret > 0) {
*ept= 0; *ept= 0;
iso_rr_pt= pathspec; iso_rr_pt= add_pt;
disk_pt= ept + 1; disk_pt= ept + 1;
} else { } else {
iso_rr_pt= "/"; iso_rr_pt= "/";
disk_pt= pathspec; disk_pt= add_pt;
} }
if(root_seen) { if(root_seen) {
strcpy(eff_path, iso_rr_pt); strcpy(eff_path, iso_rr_pt);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.02.24.192029" #define Xorriso_timestamP "2011.02.26.100158"