From 362a17c571f054b3cd2266605a63b5e0633dfe59 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 20 Dec 2024 16:48:48 +0100 Subject: [PATCH] Bug fix: -boot_image load_size="full" was not revoked by load_size=number and not reported by -status --- xorriso/iso_img.c | 4 ++-- xorriso/opts_a_c.c | 1 + xorriso/xorriso_timestamp.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/xorriso/iso_img.c b/xorriso/iso_img.c index e9e3ee2c..94a49cd1 100644 --- a/xorriso/iso_img.c +++ b/xorriso/iso_img.c @@ -494,9 +494,9 @@ int Xorriso_boot_item_status(struct XorrisO *xorriso, char *cat_path, if(!(is_default && no_defaults)) Xorriso_status_result(xorriso,filter,fp,flag&2); - if(flag & 32) { + if((flag & 32) || xorriso->boot_img_full_size) { is_default= 0; - sprintf(line, "-boot_image %s load_size=full", form); + sprintf(line, "-boot_image %s load_size=full\n", form); } else { is_default= (load_size == 2048 || (flag & 4)); sprintf(line, "-boot_image %s load_size=%lu\n", diff --git a/xorriso/opts_a_c.c b/xorriso/opts_a_c.c index 330b3126..14acbc46 100644 --- a/xorriso/opts_a_c.c +++ b/xorriso/opts_a_c.c @@ -1122,6 +1122,7 @@ interval_text_long:; {ret= 0; goto ex;} } xorriso->boot_image_load_size= num; + xorriso->boot_img_full_size= 0; } xorriso->boot_img_size_default= 0; is_change= 1; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 3e21ba70..8fbb2314 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.12.18.085148" +#define Xorriso_timestamP "2024.12.20.154809"