diff --git a/libisoburn/isofs_wrap.c b/libisoburn/isofs_wrap.c index 4fe37fce..02f01884 100644 --- a/libisoburn/isofs_wrap.c +++ b/libisoburn/isofs_wrap.c @@ -118,7 +118,7 @@ IsoImage *isoburn_get_attached_image(struct burn_drive *d) /* API */ -int isoburn_get_attached_start_lba(struct burn_drive *d) +off_t isoburn_get_attached_start_lba_v2(struct burn_drive *d) { int ret; struct isoburn *o= NULL; @@ -132,6 +132,17 @@ int isoburn_get_attached_start_lba(struct burn_drive *d) } +int isoburn_get_attached_start_lba(struct burn_drive *d) +{ + off_t ret; + + ret= isoburn_get_attached_start_lba_v2(d); + if(ret >= 0 && ret < 0x7fffffff) + return((int) ret); + return(-1); +} + + static void isoburn_idle_free_function(void *ignored) { return; diff --git a/libisoburn/libisoburn.h b/libisoburn/libisoburn.h index 9db0ac77..06f8bdff 100644 --- a/libisoburn/libisoburn.h +++ b/libisoburn/libisoburn.h @@ -2468,6 +2468,11 @@ IsoImage *isoburn_get_attached_image(struct burn_drive *d); */ int isoburn_get_attached_start_lba(struct burn_drive *d); +/** Like isoburn_get_attached_start_lba(), but with off_t return value. + @since 1.5.8 +*/ +off_t isoburn_get_attached_start_lba_v2(struct burn_drive *d); + /** Load the ISO filesystem directory tree from the medium in the given drive. This will give libisoburn the base on which it can let libisofs perform diff --git a/libisoburn/libisoburn.ver b/libisoburn/libisoburn.ver index d383e6c7..2ca21ea6 100644 --- a/libisoburn/libisoburn.ver +++ b/libisoburn/libisoburn.ver @@ -364,6 +364,7 @@ local: *; }; LIBISOBURN1_1.5.8 { +isoburn_get_attached_start_lba_v2; isoburn_get_mount_params_v2; isoburn_igopt_get_data_start_v2; isoburn_igopt_get_effective_lba_v2; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 74ab377a..6bc8a394 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.03.09.210426" +#define Xorriso_timestamP "2024.03.09.212055"