From 73ec1501f9d31c167ce664d72ce9d24aea1274c3 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 24 Dec 2015 08:02:02 +0000 Subject: [PATCH] El Torito load size 0 what not shown with -report_el_torito as_mkisofs or cmd --- xorriso/iso_img.c | 6 ++++-- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/xorriso/iso_img.c b/xorriso/iso_img.c index da9a62c6..00560c99 100644 --- a/xorriso/iso_img.c +++ b/xorriso/iso_img.c @@ -1667,8 +1667,10 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso, if(elto_count > 0) { Xorriso_alloc_meM(et_imgs, struct elto_img_par, elto_count); - for(et_idx= 0; et_idx < elto_count; et_idx++) + for(et_idx= 0; et_idx < elto_count; et_idx++) { et_imgs[et_idx].path= NULL; + et_imgs[et_idx].ldsiz= -1; + } } if(mbr_count > 0) Xorriso_alloc_meM(mbrpts, struct mbr_par, mbr_count); @@ -2334,7 +2336,7 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso, } if(buf[0]) Xorriso_record_cmd_linE - if(et_imgs[idx].ldsiz > 0) { + if(et_imgs[idx].ldsiz >= 0) { if(mkisofs) sprintf(buf, "-boot-load-size %d", et_imgs[idx].ldsiz); else diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 598a734e..91865be0 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.12.23.112013" +#define Xorriso_timestamP "2015.12.24.080343"