Image size tolerance of 300 kB when recognizing genisoimage -B "..."
This commit is contained in:
parent
4b5ffffa0c
commit
155bad70a7
@ -2164,8 +2164,9 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
|
|||||||
start_cyl= 0xffffffff;
|
start_cyl= 0xffffffff;
|
||||||
sscanf(contentpt, "%lu 0x%lx 0x%lx %lu %lu",
|
sscanf(contentpt, "%lu 0x%lx 0x%lx %lu %lu",
|
||||||
&partno, &id_tag, &perms, &start_cyl, &num_blocks);
|
&partno, &id_tag, &perms, &start_cyl, &num_blocks);
|
||||||
if(partno > 0 && partno < 9 && start_cyl == 0 && num_blocks == img_blocks
|
if(partno > 0 && partno < 9 && start_cyl == 0 &&
|
||||||
&& ((partno == 1 && id_tag == 4) || (partno > 1 && id_tag == 2)))
|
num_blocks >= img_blocks - 600 && num_blocks <= img_blocks &&
|
||||||
|
((partno == 1 && id_tag == 4) || (partno > 1 && id_tag == 2)))
|
||||||
full_sparc_part|= (1 << (partno - 1));
|
full_sparc_part|= (1 << (partno - 1));
|
||||||
|
|
||||||
} else if(strcmp(name, "PALO header version:") == 0) {
|
} else if(strcmp(name, "PALO header version:") == 0) {
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2016.02.07.194339"
|
#define Xorriso_timestamP "2016.02.27.170008"
|
||||||
|
Loading…
Reference in New Issue
Block a user