Fixed a bug about -update_l
This commit is contained in:
parent
510ff61bf3
commit
32e15b5432
@ -4562,8 +4562,13 @@ int Xorriso_compare_2_files(struct XorrisO *xorriso, char *disk_adr,
|
|||||||
strcat(a, " ");
|
strcat(a, " ");
|
||||||
if(adr_common_tail[0])
|
if(adr_common_tail[0])
|
||||||
strcat(a, Text_shellsafe(adr_common_tail, sfe, 0));
|
strcat(a, Text_shellsafe(adr_common_tail, sfe, 0));
|
||||||
else
|
else {
|
||||||
|
Text_shellsafe(disk_adr, a+strlen(a), 0);
|
||||||
|
strcat(a, " (DISK)");
|
||||||
|
/*
|
||||||
strcat(a, "'.'");
|
strcat(a, "'.'");
|
||||||
|
*/
|
||||||
|
}
|
||||||
strcat(a, " :");
|
strcat(a, " :");
|
||||||
if(flag&(1<<30))
|
if(flag&(1<<30))
|
||||||
a[0]= 0;
|
a[0]= 0;
|
||||||
@ -7729,7 +7734,7 @@ delete:;
|
|||||||
Splitpart__compose(part_path+strlen(iso_rr_path)+1, partno,
|
Splitpart__compose(part_path+strlen(iso_rr_path)+1, partno,
|
||||||
new_total_parts, offset, first_bytes, disk_size, 0);
|
new_total_parts, offset, first_bytes, disk_size, 0);
|
||||||
ret= Xorriso_graft_in(xorriso, boss_iter, disk_path, part_path,
|
ret= Xorriso_graft_in(xorriso, boss_iter, disk_path, part_path,
|
||||||
offset, bytes, 2|(flag&4)|8);
|
offset, bytes, 2|(flag&4)|8|128);
|
||||||
if(ret<=0)
|
if(ret<=0)
|
||||||
goto ex;
|
goto ex;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.06.17.133914"
|
#define Xorriso_timestamP "2008.06.17.170622"
|
||||||
|
@ -1977,6 +1977,7 @@ int Xorriso_copy_properties(struct XorrisO *xorriso,
|
|||||||
bit3= use offset and cut_size for cut_out_node
|
bit3= use offset and cut_size for cut_out_node
|
||||||
bit4= return 3 on rejection by exclusion or user
|
bit4= return 3 on rejection by exclusion or user
|
||||||
bit5= if directory then do not add sub tree
|
bit5= if directory then do not add sub tree
|
||||||
|
bit7= no special handling of split file directories
|
||||||
@return <=0 = error , 1 = added simple node , 2 = added directory ,
|
@return <=0 = error , 1 = added simple node , 2 = added directory ,
|
||||||
3 = rejected
|
3 = rejected
|
||||||
*/
|
*/
|
||||||
@ -2097,7 +2098,7 @@ int Xorriso_graft_in(struct XorrisO *xorriso, void *boss_iter,
|
|||||||
target_is_dir= LIBISO_ISDIR(node);
|
target_is_dir= LIBISO_ISDIR(node);
|
||||||
|
|
||||||
target_is_split= 0;
|
target_is_split= 0;
|
||||||
if(target_is_dir)
|
if(target_is_dir && !(flag&128))
|
||||||
target_is_split= Xorriso_is_split(xorriso, "", (void *) node, 1);
|
target_is_split= Xorriso_is_split(xorriso, "", (void *) node, 1);
|
||||||
|
|
||||||
if(!((target_is_dir && !target_is_split) && source_is_dir)) {
|
if(!((target_is_dir && !target_is_split) && source_is_dir)) {
|
||||||
@ -5586,6 +5587,8 @@ int Xorriso_findi(struct XorrisO *xorriso, struct FindjoB *job,
|
|||||||
}
|
}
|
||||||
if(no_dive || !LIBISO_ISDIR((IsoNode *) dir_node))
|
if(no_dive || !LIBISO_ISDIR((IsoNode *) dir_node))
|
||||||
{ret= 1; goto ex;}
|
{ret= 1; goto ex;}
|
||||||
|
if(Xorriso_is_split(xorriso, dir_path, (IsoNode *) dir_node, 1)>0)
|
||||||
|
{ret= 1; goto ex;}
|
||||||
|
|
||||||
mem= boss_mem;
|
mem= boss_mem;
|
||||||
hflag= 1;
|
hflag= 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user