Fixed a bug about -update_l

This commit is contained in:
2008-06-17 17:06:25 +00:00
parent 510ff61bf3
commit 32e15b5432
3 changed files with 12 additions and 4 deletions

View File

@ -4562,8 +4562,13 @@ int Xorriso_compare_2_files(struct XorrisO *xorriso, char *disk_adr,
strcat(a, " ");
if(adr_common_tail[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, " :");
if(flag&(1<<30))
a[0]= 0;
@ -7729,7 +7734,7 @@ delete:;
Splitpart__compose(part_path+strlen(iso_rr_path)+1, partno,
new_total_parts, offset, first_bytes, disk_size, 0);
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)
goto ex;
}