Fixed bugs about -mv /im/age . -cdx / -cpr di/sk im/age -- -cpr di/sk . --
This commit is contained in:
@ -1052,8 +1052,10 @@ int Xorriso_normalize_img_path(struct XorrisO *xorriso, char *wd,
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
if(strcmp(apt,".")==0)
|
||||
if(strcmp(apt,".")==0) {
|
||||
is_dir= 1;
|
||||
continue;
|
||||
}
|
||||
if(strcmp(apt,"..")==0) {
|
||||
if(!(flag&2)) {
|
||||
node= (IsoNode *) dir;
|
||||
@ -1072,6 +1074,7 @@ bonked_root:;
|
||||
if(cpt==NULL) /* ??? if not flag&2 then this is a bug */
|
||||
goto bonked_root;
|
||||
*cpt= 0;
|
||||
is_dir= 1;
|
||||
continue;
|
||||
}
|
||||
ret= Sfile_add_to_path(eff_path, apt, 0);
|
||||
|
Reference in New Issue
Block a user