Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libbfio for openSUSE:Factory checked 
in at 2026-06-27 18:08:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbfio (Old)
 and      /work/SRC/openSUSE:Factory/.libbfio.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libbfio"

Sat Jun 27 18:08:11 2026 rev:25 rq:1361988 version:20260623

Changes:
--------
--- /work/SRC/openSUSE:Factory/libbfio/libbfio.changes  2026-06-15 
19:44:32.070156357 +0200
+++ /work/SRC/openSUSE:Factory/.libbfio.new.11887/libbfio.changes       
2026-06-27 18:10:10.612255818 +0200
@@ -1,0 +2,6 @@
+Sat Jun 27 08:55:22 UTC 2026 - Jan Engelhardt <[email protected]>
+
+- Update to release 20260623
+  * The testsuite scripts were updated
+
+-------------------------------------------------------------------

Old:
----
  libbfio-alpha-20260612.tar.gz
  libbfio-alpha-20260612.tar.gz.asc

New:
----
  libbfio-alpha-20260623.tar.gz
  libbfio-alpha-20260623.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libbfio.spec ++++++
--- /var/tmp/diff_new_pack.w9INV0/_old  2026-06-27 18:10:11.328280065 +0200
+++ /var/tmp/diff_new_pack.w9INV0/_new  2026-06-27 18:10:11.328280065 +0200
@@ -18,7 +18,7 @@
 
 Name:           libbfio
 %define lname  libbfio1
-Version:        20260612
+Version:        20260623
 Release:        0
 Summary:        Library to provide basic file input/output abstraction
 License:        LGPL-3.0-or-later

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.w9INV0/_old  2026-06-27 18:10:11.360281149 +0200
+++ /var/tmp/diff_new_pack.w9INV0/_new  2026-06-27 18:10:11.364281284 +0200
@@ -1,5 +1,5 @@
-mtime: 1781425301
-commit: ace336620d8e61b47ef0abee2b1c7cafbe1f04db1c2c575d986b74f85d4f7ca8
+mtime: 1782550541
+commit: e8886763da6c0aa2731b45ef116b70e82cf8e4f076fe1457babb0c939adf1174
 url: https://src.opensuse.org/security-forensics/libbfio
 revision: master
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-06-27 10:55:41.000000000 +0200
@@ -0,0 +1,4 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild

++++++ libbfio-alpha-20260612.tar.gz -> libbfio-alpha-20260623.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/common/config.h 
new/libbfio-20260623/common/config.h
--- old/libbfio-20260612/common/config.h        2026-06-12 15:46:51.000000000 
+0200
+++ new/libbfio-20260623/common/config.h        2026-06-23 08:25:49.000000000 
+0200
@@ -467,7 +467,7 @@
 #define PACKAGE_NAME "libbfio"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libbfio 20260612"
+#define PACKAGE_STRING "libbfio 20260623"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libbfio"
@@ -476,7 +476,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "20260612"
+#define PACKAGE_VERSION "20260623"
 
 /* The size of 'int', as computed by sizeof. */
 #define SIZEOF_INT 4
@@ -502,7 +502,7 @@
 /* #undef STRERROR_R_CHAR_P */
 
 /* Version number of package */
-#define VERSION "20260612"
+#define VERSION "20260623"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/configure 
new/libbfio-20260623/configure
--- old/libbfio-20260612/configure      2026-06-12 15:54:20.000000000 +0200
+++ new/libbfio-20260623/configure      2026-06-23 08:25:43.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for libbfio 20260612.
+# Generated by GNU Autoconf 2.72 for libbfio 20260623.
 #
 # Report bugs to <https://github.com/libyal/libbfio/issues>.
 #
@@ -614,8 +614,8 @@
 # Identity of this package.
 PACKAGE_NAME='libbfio'
 PACKAGE_TARNAME='libbfio'
-PACKAGE_VERSION='20260612'
-PACKAGE_STRING='libbfio 20260612'
+PACKAGE_VERSION='20260623'
+PACKAGE_STRING='libbfio 20260623'
 PACKAGE_BUGREPORT='https://github.com/libyal/libbfio/issues'
 PACKAGE_URL=''
 
@@ -1550,7 +1550,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-'configure' configures libbfio 20260612 to adapt to many kinds of systems.
+'configure' configures libbfio 20260623 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1621,7 +1621,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libbfio 20260612:";;
+     short | recursive ) echo "Configuration of libbfio 20260623:";;
    esac
   cat <<\_ACEOF
 
@@ -1824,7 +1824,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libbfio configure 20260612
+libbfio configure 20260623
 generated by GNU Autoconf 2.72
 
 Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2439,7 +2439,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libbfio $as_me 20260612, which was
+It was created by libbfio $as_me 20260623, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3920,7 +3920,7 @@
 
 # Define the identity of the package.
  PACKAGE='libbfio'
- VERSION='20260612'
+ VERSION='20260623'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -45109,7 +45109,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libbfio $as_me 20260612, which was
+This file was extended by libbfio $as_me 20260623, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -45177,7 +45177,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libbfio config.status 20260612
+libbfio config.status 20260623
 configured by $0, generated by GNU Autoconf 2.72,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/configure.ac 
new/libbfio-20260623/configure.ac
--- old/libbfio-20260612/configure.ac   2026-06-12 15:25:10.000000000 +0200
+++ new/libbfio-20260623/configure.ac   2026-06-23 08:04:52.000000000 +0200
@@ -2,7 +2,7 @@
 
 AC_INIT(
   [libbfio],
-  [20260612],
+  [20260623],
   [https://github.com/libyal/libbfio/issues])
 
 AC_CONFIG_SRCDIR(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/dpkg/changelog 
new/libbfio-20260623/dpkg/changelog
--- old/libbfio-20260612/dpkg/changelog 2026-06-12 15:54:26.000000000 +0200
+++ new/libbfio-20260623/dpkg/changelog 2026-06-23 08:25:49.000000000 +0200
@@ -1,5 +1,5 @@
-libbfio (20260612-1) unstable; urgency=low
+libbfio (20260623-1) unstable; urgency=low
 
   * Auto-generated
 
- -- Joachim Metz <[email protected]>  Fri, 12 Jun 2026 15:54:25 +0200
+ -- Joachim Metz <[email protected]>  Tue, 23 Jun 2026 08:25:48 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/dpkg/compat 
new/libbfio-20260623/dpkg/compat
--- old/libbfio-20260612/dpkg/compat    2026-06-12 15:25:10.000000000 +0200
+++ new/libbfio-20260623/dpkg/compat    2026-06-23 08:04:52.000000000 +0200
@@ -1 +1 @@
-10
+13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/dpkg/control 
new/libbfio-20260623/dpkg/control
--- old/libbfio-20260612/dpkg/control   2026-06-12 15:25:10.000000000 +0200
+++ new/libbfio-20260623/dpkg/control   2026-06-23 08:04:52.000000000 +0200
@@ -1,7 +1,7 @@
 Source: libbfio
 Priority: extra
 Maintainer: Joachim Metz <[email protected]>
-Build-Depends: debhelper (>= 9), dh-autoreconf, pkg-config
+Build-Depends: debhelper (>= 13), dh-autoreconf, pkg-config
 Standards-Version: 4.1.4
 Section: libs
 Homepage: https://github.com/libyal/libbfio
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/dpkg/rules 
new/libbfio-20260623/dpkg/rules
--- old/libbfio-20260612/dpkg/rules     2026-06-12 15:25:10.000000000 +0200
+++ new/libbfio-20260623/dpkg/rules     2026-06-23 08:04:52.000000000 +0200
@@ -13,7 +13,11 @@
 
 .PHONY: override_dh_install
 override_dh_install:
-       dh_install --fail-missing -X.la
+       dh_install -X.la
+
+.PHONY: override_dh_missing
+override_dh_missing:
+       dh_missing -X.la --fail-missing
 
 .PHONY: override_dh_strip
 override_dh_strip:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/include/libbfio/definitions.h 
new/libbfio-20260623/include/libbfio/definitions.h
--- old/libbfio-20260612/include/libbfio/definitions.h  2026-06-12 
15:54:26.000000000 +0200
+++ new/libbfio-20260623/include/libbfio/definitions.h  2026-06-23 
08:25:49.000000000 +0200
@@ -24,11 +24,11 @@
 
 #include <libbfio/types.h>
 
-#define LIBBFIO_VERSION                                        20260612
+#define LIBBFIO_VERSION                                        20260623
 
 /* The libbfio version string
  */
-#define LIBBFIO_VERSION_STRING                         "20260612"
+#define LIBBFIO_VERSION_STRING                         "20260623"
 
 /* The library flags definitions
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/include/libbfio/error.h 
new/libbfio-20260623/include/libbfio/error.h
--- old/libbfio-20260612/include/libbfio/error.h        2026-06-12 
15:25:11.000000000 +0200
+++ new/libbfio-20260623/include/libbfio/error.h        2026-06-23 
08:04:52.000000000 +0200
@@ -82,7 +82,7 @@
         */
        LIBBFIO_ARGUMENT_ERROR_UNSUPPORTED_VALUE        = 8,
 
-       /* The argument contains a value that conficts with another argument
+       /* The argument contains a value that conflicts with another argument
         */
        LIBBFIO_ARGUMENT_ERROR_CONFLICTING_VALUE        = 9
 };
@@ -214,7 +214,7 @@
 {
        LIBBFIO_OUTPUT_ERROR_GENERIC                    = 0,
 
-       /* There is insuficient space to write the output
+       /* There is insufficient space to write the output
         */
        LIBBFIO_OUTPUT_ERROR_INSUFFICIENT_SPACE         = 1
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/include/libbfio.h 
new/libbfio-20260623/include/libbfio.h
--- old/libbfio-20260612/include/libbfio.h      2026-06-12 15:54:26.000000000 
+0200
+++ new/libbfio-20260623/include/libbfio.h      2026-06-23 08:25:49.000000000 
+0200
@@ -374,7 +374,7 @@
 
 /* Retrieves a name size of the file handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_get_name_size(
@@ -384,7 +384,7 @@
 
 /* Retrieves a name of the file handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_get_name(
@@ -394,7 +394,7 @@
      libbfio_error_t **error );
 
 /* Sets a name for the file handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_set_name(
@@ -407,7 +407,7 @@
 
 /* Retrieves a name size of the file handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_get_name_size_wide(
@@ -417,7 +417,7 @@
 
 /* Retrieves a name of the file handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_get_name_wide(
@@ -427,7 +427,7 @@
      libbfio_error_t **error );
 
 /* Sets a name for the file handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_set_name_wide(
@@ -453,7 +453,7 @@
 
 /* Retrieves a name size of the file range handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get_name_size(
@@ -463,7 +463,7 @@
 
 /* Retrieves a name of the file range handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get_name(
@@ -473,7 +473,7 @@
      libbfio_error_t **error );
 
 /* Sets a name for the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_set_name(
@@ -486,7 +486,7 @@
 
 /* Retrieves a name size of the file range handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get_name_size_wide(
@@ -496,7 +496,7 @@
 
 /* Retrieves a name of the file range handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get_name_wide(
@@ -506,7 +506,7 @@
      libbfio_error_t **error );
 
 /* Sets a name for the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_set_name_wide(
@@ -518,7 +518,7 @@
 #endif /* defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) */
 
 /* Retrieves the range of the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get(
@@ -528,7 +528,7 @@
      libbfio_error_t **error );
 
 /* Sets the range of the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_set(
@@ -551,7 +551,7 @@
      libbfio_error_t **error );
 
 /* Retrieves the range of the memory range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_memory_range_get(
@@ -561,7 +561,7 @@
      libbfio_error_t **error );
 
 /* Sets the range of the memory range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_memory_range_set(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/include/libbfio.h.in 
new/libbfio-20260623/include/libbfio.h.in
--- old/libbfio-20260612/include/libbfio.h.in   2026-06-12 15:25:10.000000000 
+0200
+++ new/libbfio-20260623/include/libbfio.h.in   2026-06-23 08:04:52.000000000 
+0200
@@ -374,7 +374,7 @@
 
 /* Retrieves a name size of the file handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_get_name_size(
@@ -384,7 +384,7 @@
 
 /* Retrieves a name of the file handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_get_name(
@@ -394,7 +394,7 @@
      libbfio_error_t **error );
 
 /* Sets a name for the file handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_set_name(
@@ -407,7 +407,7 @@
 
 /* Retrieves a name size of the file handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_get_name_size_wide(
@@ -417,7 +417,7 @@
 
 /* Retrieves a name of the file handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_get_name_wide(
@@ -427,7 +427,7 @@
      libbfio_error_t **error );
 
 /* Sets a name for the file handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_set_name_wide(
@@ -453,7 +453,7 @@
 
 /* Retrieves a name size of the file range handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get_name_size(
@@ -463,7 +463,7 @@
 
 /* Retrieves a name of the file range handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get_name(
@@ -473,7 +473,7 @@
      libbfio_error_t **error );
 
 /* Sets a name for the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_set_name(
@@ -486,7 +486,7 @@
 
 /* Retrieves a name size of the file range handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get_name_size_wide(
@@ -496,7 +496,7 @@
 
 /* Retrieves a name of the file range handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get_name_wide(
@@ -506,7 +506,7 @@
      libbfio_error_t **error );
 
 /* Sets a name for the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_set_name_wide(
@@ -518,7 +518,7 @@
 #endif /* defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) */
 
 /* Retrieves the range of the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_get(
@@ -528,7 +528,7 @@
      libbfio_error_t **error );
 
 /* Sets the range of the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_file_range_set(
@@ -551,7 +551,7 @@
      libbfio_error_t **error );
 
 /* Retrieves the range of the memory range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_memory_range_get(
@@ -561,7 +561,7 @@
      libbfio_error_t **error );
 
 /* Sets the range of the memory range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 LIBBFIO_EXTERN \
 int libbfio_memory_range_set(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libbfio/libbfio.rc 
new/libbfio-20260623/libbfio/libbfio.rc
--- old/libbfio-20260612/libbfio/libbfio.rc     2026-06-12 15:54:26.000000000 
+0200
+++ new/libbfio-20260623/libbfio/libbfio.rc     2026-06-23 08:25:49.000000000 
+0200
@@ -22,12 +22,12 @@
     BLOCK "040904E4"
     BEGIN
       VALUE "FileDescription",         "Library to support (abstracted) basic 
file input/output (IO)\0"
-      VALUE "FileVersion",             "20260612" "\0"
+      VALUE "FileVersion",             "20260623" "\0"
       VALUE "InternalName",            "libbfio.dll\0"
       VALUE "LegalCopyright",          "(C) 2009-2026, Joachim Metz 
<[email protected]>\0"
       VALUE "OriginalFilename",                "libbfio.dll\0"
       VALUE "ProductName",             "libbfio\0"
-      VALUE "ProductVersion",          "20260612" "\0"
+      VALUE "ProductVersion",          "20260623" "\0"
       VALUE "Comments",                        "For more information visit 
https://github.com/libyal/libbfio/\0";
     END
   END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libbfio/libbfio_definitions.h 
new/libbfio-20260623/libbfio/libbfio_definitions.h
--- old/libbfio-20260612/libbfio/libbfio_definitions.h  2026-06-12 
15:54:26.000000000 +0200
+++ new/libbfio-20260623/libbfio/libbfio_definitions.h  2026-06-23 
08:25:49.000000000 +0200
@@ -33,11 +33,11 @@
  * for local use of libbfio
  */
 #else
-#define LIBBFIO_VERSION                                        20260612
+#define LIBBFIO_VERSION                                        20260623
 
 /* The libbfio version string
  */
-#define LIBBFIO_VERSION_STRING                         "20260612"
+#define LIBBFIO_VERSION_STRING                         "20260623"
 
 /* The library flags definitions
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libbfio/libbfio_file.c 
new/libbfio-20260623/libbfio/libbfio_file.c
--- old/libbfio-20260612/libbfio/libbfio_file.c 2026-06-12 15:25:11.000000000 
+0200
+++ new/libbfio-20260623/libbfio/libbfio_file.c 2026-06-23 08:04:52.000000000 
+0200
@@ -116,7 +116,7 @@
 
 /* Retrieves the name size of the file handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_get_name_size(
      libbfio_handle_t *handle,
@@ -158,7 +158,7 @@
 
 /* Retrieves the name of the file handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_get_name(
      libbfio_handle_t *handle,
@@ -201,7 +201,7 @@
 }
 
 /* Sets the name for the file handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_set_name(
      libbfio_handle_t *handle,
@@ -280,7 +280,7 @@
 
 /* Retrieves the name size of the file handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_get_name_size_wide(
      libbfio_handle_t *handle,
@@ -322,7 +322,7 @@
 
 /* Retrieves the name of the file handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_get_name_wide(
      libbfio_handle_t *handle,
@@ -365,7 +365,7 @@
 }
 
 /* Sets the name for the file handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_set_name_wide(
      libbfio_handle_t *handle,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libbfio/libbfio_file_io_handle.c 
new/libbfio-20260623/libbfio/libbfio_file_io_handle.c
--- old/libbfio-20260612/libbfio/libbfio_file_io_handle.c       2026-06-12 
15:25:11.000000000 +0200
+++ new/libbfio-20260623/libbfio/libbfio_file_io_handle.c       2026-06-23 
08:04:52.000000000 +0200
@@ -119,7 +119,7 @@
 }
 
 /* Frees a file IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_io_handle_free(
      libbfio_file_io_handle_t **file_io_handle,
@@ -168,7 +168,7 @@
 }
 
 /* Clones (duplicates) the file IO handle and its attributes
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_io_handle_clone(
      libbfio_file_io_handle_t **destination_file_io_handle,
@@ -302,7 +302,7 @@
 
 /* Retrieves the name size of the file IO handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_io_handle_get_name_size(
      libbfio_file_io_handle_t *file_io_handle,
@@ -342,7 +342,7 @@
 
 /* Retrieves the name of the file IO handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_io_handle_get_name(
      libbfio_file_io_handle_t *file_io_handle,
@@ -383,7 +383,7 @@
 }
 
 /* Sets the name for the file IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_io_handle_set_name(
      libbfio_file_io_handle_t *file_io_handle,
@@ -538,7 +538,7 @@
 
 /* Retrieves the name size of the file IO handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_io_handle_get_name_size_wide(
      libbfio_file_io_handle_t *file_io_handle,
@@ -578,7 +578,7 @@
 
 /* Retrieves the name of the file IO handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_io_handle_get_name_wide(
      libbfio_file_io_handle_t *file_io_handle,
@@ -619,7 +619,7 @@
 }
 
 /* Sets the name for the file IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_io_handle_set_name_wide(
      libbfio_file_io_handle_t *file_io_handle,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libbfio/libbfio_file_range.c 
new/libbfio-20260623/libbfio/libbfio_file_range.c
--- old/libbfio-20260612/libbfio/libbfio_file_range.c   2026-06-12 
15:25:11.000000000 +0200
+++ new/libbfio-20260623/libbfio/libbfio_file_range.c   2026-06-23 
08:04:52.000000000 +0200
@@ -119,7 +119,7 @@
 
 /* Retrieves the name size of the file range handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_get_name_size(
      libbfio_handle_t *handle,
@@ -161,7 +161,7 @@
 
 /* Retrieves the name of the file range handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_get_name(
      libbfio_handle_t *handle,
@@ -204,7 +204,7 @@
 }
 
 /* Sets the name for the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_set_name(
      libbfio_handle_t *handle,
@@ -250,7 +250,7 @@
 
 /* Retrieves the name size of the file range handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_get_name_size_wide(
      libbfio_handle_t *handle,
@@ -292,7 +292,7 @@
 
 /* Retrieves the name of the file range handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_get_name_wide(
      libbfio_handle_t *handle,
@@ -335,7 +335,7 @@
 }
 
 /* Sets the name for the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_set_name_wide(
      libbfio_handle_t *handle,
@@ -380,7 +380,7 @@
 #endif /* defined( HAVE_WIDE_CHARACTER_TYPE ) */
 
 /* Retrieves the range of the file range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_get(
      libbfio_handle_t *handle,
@@ -424,7 +424,7 @@
 
 /* Sets the range of the file range handle
  * A range size of 0 represents that the range continues until the end of the 
file
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_set(
      libbfio_handle_t *handle,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbfio-20260612/libbfio/libbfio_file_range_io_handle.c 
new/libbfio-20260623/libbfio/libbfio_file_range_io_handle.c
--- old/libbfio-20260612/libbfio/libbfio_file_range_io_handle.c 2026-06-12 
15:25:11.000000000 +0200
+++ new/libbfio-20260623/libbfio/libbfio_file_range_io_handle.c 2026-06-23 
08:04:52.000000000 +0200
@@ -119,7 +119,7 @@
 }
 
 /* Frees a file range IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_free(
      libbfio_file_range_io_handle_t **file_range_io_handle,
@@ -163,7 +163,7 @@
 }
 
 /* Clones (duplicates) the file range IO handle and its attributes
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_clone(
      libbfio_file_range_io_handle_t **destination_file_range_io_handle,
@@ -264,7 +264,7 @@
 
 /* Retrieves the name size of the file range IO handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_get_name_size(
      libbfio_file_range_io_handle_t *file_range_io_handle,
@@ -303,7 +303,7 @@
 
 /* Retrieves the name of the file range IO handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_get_name(
      libbfio_file_range_io_handle_t *file_range_io_handle,
@@ -343,7 +343,7 @@
 }
 
 /* Sets the name for the file range IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_set_name(
      libbfio_file_range_io_handle_t *file_range_io_handle,
@@ -386,7 +386,7 @@
 
 /* Retrieves the name size of the file range IO handle
  * The name size includes the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_get_name_size_wide(
      libbfio_file_range_io_handle_t *file_range_io_handle,
@@ -425,7 +425,7 @@
 
 /* Retrieves the name of the file range IO handle
  * The name size should include the end of string character
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_get_name_wide(
      libbfio_file_range_io_handle_t *file_range_io_handle,
@@ -465,7 +465,7 @@
 }
 
 /* Sets the name for the file range IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_set_name_wide(
      libbfio_file_range_io_handle_t *file_range_io_handle,
@@ -507,7 +507,7 @@
 #endif /* defined( HAVE_WIDE_CHARACTER_TYPE ) */
 
 /* Retrieves the range of the file range IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_get(
      libbfio_file_range_io_handle_t *file_range_io_handle,
@@ -558,7 +558,7 @@
 
 /* Sets the range of the file range IO handle
  * A range size of 0 represents that the range continues until the end of the 
file
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_file_range_io_handle_set(
      libbfio_file_range_io_handle_t *file_range_io_handle,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libbfio/libbfio_memory_range.c 
new/libbfio-20260623/libbfio/libbfio_memory_range.c
--- old/libbfio-20260612/libbfio/libbfio_memory_range.c 2026-06-12 
15:25:11.000000000 +0200
+++ new/libbfio-20260623/libbfio/libbfio_memory_range.c 2026-06-23 
08:04:52.000000000 +0200
@@ -118,7 +118,7 @@
 }
 
 /* Retrieves the range of the memory range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_memory_range_get(
      libbfio_handle_t *handle,
@@ -161,7 +161,7 @@
 }
 
 /* Sets the range of the memory range handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_memory_range_set(
      libbfio_handle_t *handle,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbfio-20260612/libbfio/libbfio_memory_range_io_handle.c 
new/libbfio-20260623/libbfio/libbfio_memory_range_io_handle.c
--- old/libbfio-20260612/libbfio/libbfio_memory_range_io_handle.c       
2026-06-12 15:25:11.000000000 +0200
+++ new/libbfio-20260623/libbfio/libbfio_memory_range_io_handle.c       
2026-06-23 08:04:52.000000000 +0200
@@ -105,7 +105,7 @@
 }
 
 /* Frees a memory range IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_memory_range_io_handle_free(
      libbfio_memory_range_io_handle_t **memory_range_io_handle,
@@ -135,7 +135,7 @@
 }
 
 /* Clones (duplicates) the memory range IO handle and its attributes
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_memory_range_io_handle_clone(
      libbfio_memory_range_io_handle_t **destination_memory_range_io_handle,
@@ -205,7 +205,7 @@
 }
 
 /* Retrieves the range of the memory range IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_memory_range_io_handle_get(
      libbfio_memory_range_io_handle_t *memory_range_io_handle,
@@ -255,7 +255,7 @@
 }
 
 /* Sets the range of the memory range IO handle
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libbfio_memory_range_io_handle_set(
      libbfio_memory_range_io_handle_t *memory_range_io_handle,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libbfio/libbfio_pool.c 
new/libbfio-20260623/libbfio/libbfio_pool.c
--- old/libbfio-20260612/libbfio/libbfio_pool.c 2026-06-12 15:25:11.000000000 
+0200
+++ new/libbfio-20260623/libbfio/libbfio_pool.c 2026-06-23 08:10:38.000000000 
+0200
@@ -920,6 +920,8 @@
        }
        if( internal_handle->pool_last_used_list_element != first_list_element )
        {
+               last_used_list_element = 
internal_handle->pool_last_used_list_element;
+
                if( libcdata_list_remove_element(
                     internal_pool->last_used_list,
                     last_used_list_element,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libbfio.spec 
new/libbfio-20260623/libbfio.spec
--- old/libbfio-20260612/libbfio.spec   2026-06-12 15:54:26.000000000 +0200
+++ new/libbfio-20260623/libbfio.spec   2026-06-23 08:25:49.000000000 +0200
@@ -1,5 +1,5 @@
 Name: libbfio
-Version: 20260612
+Version: 20260623
 Release: 1
 Summary: Library to support (abstracted) basic file input/output (IO)
 Group: System Environment/Libraries
@@ -65,6 +65,6 @@
 %{_mandir}/man3/*
 
 %changelog
-* Fri Jun 12 2026 Joachim Metz <[email protected]> 20260612-1
+* Tue Jun 23 2026 Joachim Metz <[email protected]> 20260623-1
 - Auto-generated
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libcfile/libcfile_definitions.h 
new/libbfio-20260623/libcfile/libcfile_definitions.h
--- old/libbfio-20260612/libcfile/libcfile_definitions.h        2026-06-12 
15:54:04.000000000 +0200
+++ new/libbfio-20260623/libcfile/libcfile_definitions.h        2026-06-23 
08:25:23.000000000 +0200
@@ -35,11 +35,11 @@
  */
 #else
 
-#define LIBCFILE_VERSION                               20260612
+#define LIBCFILE_VERSION                               20260615
 
 /* The libcfile version string
  */
-#define LIBCFILE_VERSION_STRING                                "20260612"
+#define LIBCFILE_VERSION_STRING                                "20260615"
 
 /* The file access flags
  * bit 1       set to 1 for read access
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libcfile/libcfile_file.c 
new/libbfio-20260623/libcfile/libcfile_file.c
--- old/libbfio-20260612/libcfile/libcfile_file.c       2026-06-12 
15:54:04.000000000 +0200
+++ new/libbfio-20260623/libcfile/libcfile_file.c       2026-06-23 
08:25:23.000000000 +0200
@@ -2812,6 +2812,7 @@
 {
        libcfile_internal_file_t *internal_file = NULL;
        static char *function                   = "libcfile_file_seek_offset";
+       off64_t calculated_offset               = 0;
        off64_t offset_remainder                = 0;
        LARGE_INTEGER large_integer_offset      = LIBCFILE_LARGE_INTEGER_ZERO;
        DWORD error_code                        = 0;
@@ -2852,9 +2853,17 @@
 
                return( -1 );
        }
-       if( ( whence != SEEK_CUR )
-        && ( whence != SEEK_END )
-        && ( whence != SEEK_SET ) )
+       calculated_offset = offset;
+
+       if( whence == SEEK_CUR )
+       {
+               calculated_offset += internal_file->current_offset;
+       }
+       else if( whence == SEEK_END )
+       {
+               calculated_offset += internal_file->size;
+       }
+       else if( whence != SEEK_SET )
        {
                libcerror_error_set(
                 error,
@@ -2865,19 +2874,22 @@
 
                return( -1 );
        }
+       if( calculated_offset < 0 )
+       {
+               libcerror_error_set(
+                error,
+                LIBCERROR_ERROR_DOMAIN_RUNTIME,
+                LIBCERROR_RUNTIME_ERROR_VALUE_OUT_OF_BOUNDS,
+                "%s: invalid offset value out of bounds.",
+                function );
+
+               return( -1 );
+       }
        if( internal_file->block_size != 0 )
        {
-               if( whence == SEEK_CUR )
-               {
-                       offset += internal_file->current_offset;
-               }
-               else if( whence == SEEK_END )
-               {
-                       offset += internal_file->size;
-               }
                whence           = SEEK_SET;
-               offset_remainder = offset % internal_file->block_size;
-               offset          -= offset_remainder;
+               offset_remainder = calculated_offset % 
internal_file->block_size;
+               offset           = calculated_offset - offset_remainder;
        }
        if( whence == SEEK_SET )
        {
@@ -2933,7 +2945,6 @@
 #else
                offset = ( (off64_t) large_integer_offset.HighPart << 32 ) + 
large_integer_offset.LowPart;
 #endif
-
                if( offset < 0 )
                {
                        libcerror_error_set(
@@ -2972,6 +2983,7 @@
 {
        libcfile_internal_file_t *internal_file = NULL;
        static char *function                   = "libcfile_file_seek_offset";
+       off64_t calculated_offset               = 0;
        off64_t offset_remainder                = 0;
 
        if( file == NULL )
@@ -3009,9 +3021,17 @@
 
                return( -1 );
        }
-       if( ( whence != SEEK_CUR )
-        && ( whence != SEEK_END )
-        && ( whence != SEEK_SET ) )
+       calculated_offset = offset;
+
+       if( whence == SEEK_CUR )
+       {
+               calculated_offset += internal_file->current_offset;
+       }
+       else if( whence == SEEK_END )
+       {
+               calculated_offset += internal_file->size;
+       }
+       else if( whence != SEEK_SET )
        {
                libcerror_error_set(
                 error,
@@ -3022,19 +3042,22 @@
 
                return( -1 );
        }
+       if( calculated_offset < 0 )
+       {
+               libcerror_error_set(
+                error,
+                LIBCERROR_ERROR_DOMAIN_RUNTIME,
+                LIBCERROR_RUNTIME_ERROR_VALUE_OUT_OF_BOUNDS,
+                "%s: invalid offset value out of bounds.",
+                function );
+
+               return( -1 );
+       }
        if( internal_file->block_size != 0 )
        {
-               if( whence == SEEK_CUR )
-               {
-                       offset += internal_file->current_offset;
-               }
-               else if( whence == SEEK_END )
-               {
-                       offset += internal_file->size;
-               }
                whence           = SEEK_SET;
-               offset_remainder = offset % internal_file->block_size;
-               offset          -= offset_remainder;
+               offset_remainder = calculated_offset % 
internal_file->block_size;
+               offset           = calculated_offset - offset_remainder;
        }
        offset = lseek(
                  internal_file->descriptor,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libcpath/libcpath_definitions.h 
new/libbfio-20260623/libcpath/libcpath_definitions.h
--- old/libbfio-20260612/libcpath/libcpath_definitions.h        2026-06-12 
15:54:10.000000000 +0200
+++ new/libbfio-20260623/libcpath/libcpath_definitions.h        2026-06-23 
08:25:30.000000000 +0200
@@ -35,11 +35,11 @@
  */
 #else
 
-#define LIBCPATH_VERSION                       20260612
+#define LIBCPATH_VERSION                       20260621
 
 /* The libcpath version string
  */
-#define LIBCPATH_VERSION_STRING                        "20260612"
+#define LIBCPATH_VERSION_STRING                        "20260621"
 
 #if defined( WINAPI ) || defined( __MINGW32__ )
 #define LIBCPATH_SEPARATOR                     '\\'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libcpath/libcpath_path.c 
new/libbfio-20260623/libcpath/libcpath_path.c
--- old/libbfio-20260612/libcpath/libcpath_path.c       2026-06-12 
15:54:10.000000000 +0200
+++ new/libbfio-20260623/libcpath/libcpath_path.c       2026-06-23 
08:25:30.000000000 +0200
@@ -595,7 +595,7 @@
 #if defined( WINAPI )
 
 /* Determines the path type
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libcpath_path_get_path_type(
      const char *path,
@@ -699,7 +699,7 @@
 }
 
 /* Determines the volume name
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libcpath_path_get_volume_name(
      const char *path,
@@ -1114,7 +1114,7 @@
  * Volume device path:         \\.\C:
  * Volume file system path:    \\.\C:\
  *
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libcpath_path_get_full_path(
      const char *path,
@@ -2014,7 +2014,7 @@
  * /../home/user/file.txt
  * user/../user/file.txt
  *
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libcpath_path_get_full_path(
      const char *path,
@@ -2508,7 +2508,12 @@
                                last_used_path_segment_index = 
path_segment_index;
                        }
                }
+#if defined( __MINGW32__ )
+               if( ( safe_full_path_size > 0 )
+                && ( path_number_of_segments > 1 ) )
+#else
                if( safe_full_path_size > 0 )
+#endif
                {
                        /* Remove the size reserved of the last directory 
separator
                         */
@@ -4327,7 +4332,7 @@
 #if defined( WINAPI )
 
 /* Determines the path type
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libcpath_path_get_path_type_wide(
      const wchar_t *path,
@@ -4431,7 +4436,7 @@
 }
 
 /* Determines the volume name
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libcpath_path_get_volume_name_wide(
      const wchar_t *path,
@@ -4841,7 +4846,7 @@
  * Volume 'relative' path:     C:directory\file.txt
  * UNC path:                   \\server\share\directory\file.txt
  *
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libcpath_path_get_full_path_wide(
      const wchar_t *path,
@@ -5741,7 +5746,7 @@
  * /../home/user/file.txt
  * user/../user/file.txt
  *
- * Returns 1 if succesful or -1 on error
+ * Returns 1 if successful or -1 on error
  */
 int libcpath_path_get_full_path_wide(
      const wchar_t *path,
@@ -6235,7 +6240,12 @@
                                last_used_path_segment_index = 
path_segment_index;
                        }
                }
+#if defined( __MINGW32__ )
+               if( ( safe_full_path_size > 0 )
+                && ( path_number_of_segments > 1 ) )
+#else
                if( safe_full_path_size > 0 )
+#endif
                {
                        /* Remove the size reserved of the last directory 
separator
                         */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbfio-20260612/libcthreads/libcthreads_definitions.h 
new/libbfio-20260623/libcthreads/libcthreads_definitions.h
--- old/libbfio-20260612/libcthreads/libcthreads_definitions.h  2026-06-12 
15:54:13.000000000 +0200
+++ new/libbfio-20260623/libcthreads/libcthreads_definitions.h  2026-06-23 
08:25:34.000000000 +0200
@@ -35,11 +35,11 @@
  */
 #else
 
-#define LIBCTHREADS_VERSION                            20260612
+#define LIBCTHREADS_VERSION                            20260615
 
 /* The libcthreads version string
  */
-#define LIBCTHREADS_VERSION_STRING                     "20260612"
+#define LIBCTHREADS_VERSION_STRING                     "20260615"
 
 /* The comparison function definitions
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/libcthreads/libcthreads_queue.c 
new/libbfio-20260623/libcthreads/libcthreads_queue.c
--- old/libbfio-20260612/libcthreads/libcthreads_queue.c        2026-06-12 
15:54:13.000000000 +0200
+++ new/libbfio-20260623/libcthreads/libcthreads_queue.c        2026-06-23 
08:25:34.000000000 +0200
@@ -271,7 +271,7 @@
                if( value_free_function != NULL )
                {
                        for( value_index = 0;
-                            value_index < internal_queue->number_of_values;
+                            value_index < 
internal_queue->allocated_number_of_values;
                             value_index++ )
                        {
                                if( value_free_function(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/tests/Makefile.am 
new/libbfio-20260623/tests/Makefile.am
--- old/libbfio-20260612/tests/Makefile.am      2026-06-12 15:26:26.000000000 
+0200
+++ new/libbfio-20260623/tests/Makefile.am      2026-06-23 08:06:28.000000000 
+0200
@@ -290,9 +290,15 @@
 test_inputs_libbfio.at: generate_test_inputs.sh
        $(SHELL) $(srcdir)/generate_test_inputs.sh $(PACKAGE_NAME) libbfio
 
-test_library: package.m4 test_inputs_libbfio.at test_library.at test_macros.at
+test_library: \
+       package.m4 \
+       test_inputs_libbfio.at \
+       test_library.at \
+       test_macros.at
 
-test_manpages: package.m4 test_manpages.at
+test_manpages: \
+       package.m4 \
+       test_manpages.at
 
 EXTRA_DIST = \
        $(check_AUTOTESTS:=.at) \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/tests/Makefile.in 
new/libbfio-20260623/tests/Makefile.in
--- old/libbfio-20260612/tests/Makefile.in      2026-06-12 15:54:20.000000000 
+0200
+++ new/libbfio-20260623/tests/Makefile.in      2026-06-23 08:25:44.000000000 
+0200
@@ -1231,9 +1231,15 @@
 test_inputs_libbfio.at: generate_test_inputs.sh
        $(SHELL) $(srcdir)/generate_test_inputs.sh $(PACKAGE_NAME) libbfio
 
-test_library: package.m4 test_inputs_libbfio.at test_library.at test_macros.at
+test_library: \
+       package.m4 \
+       test_inputs_libbfio.at \
+       test_library.at \
+       test_macros.at
 
-test_manpages: package.m4 test_manpages.at
+test_manpages: \
+       package.m4 \
+       test_manpages.at
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/tests/bfio_test_memory.c 
new/libbfio-20260623/tests/bfio_test_memory.c
--- old/libbfio-20260612/tests/bfio_test_memory.c       2026-06-12 
15:25:11.000000000 +0200
+++ new/libbfio-20260623/tests/bfio_test_memory.c       2026-06-23 
08:04:52.000000000 +0200
@@ -39,7 +39,7 @@
 int bfio_test_malloc_attempts_before_fail     = -1;
 
 /* Custom malloc for testing memory error cases
- * Note this function might fail if compiled with optimation
+ * Note this function might fail if compiled with optimization
  * Returns a pointer to newly allocated data or NULL
  */
 void *malloc(
@@ -78,7 +78,7 @@
 int bfio_test_memcpy_attempts_before_fail                           = -1;
 
 /* Custom memcpy for testing memory error cases
- * Note this function might fail if compiled with optimation and as a shared 
libary
+ * Note this function might fail if compiled with optimization and as a shared 
library
  * Returns a pointer to newly allocated data or NULL
  */
 void *memcpy(
@@ -119,7 +119,7 @@
 int bfio_test_memset_attempts_before_fail                  = -1;
 
 /* Custom memset for testing memory error cases
- * Note this function might fail if compiled with optimation and as a shared 
libary
+ * Note this function might fail if compiled with optimization and as a shared 
library
  * Returns a pointer to newly allocated data or NULL
  */
 void *memset(
@@ -160,7 +160,7 @@
 int bfio_test_realloc_attempts_before_fail             = -1;
 
 /* Custom realloc for testing memory error cases
- * Note this function might fail if compiled with optimation
+ * Note this function might fail if compiled with optimization
  * Returns a pointer to reallocated data or NULL
  */
 void *realloc(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/tests/generate_test_inputs.sh 
new/libbfio-20260623/tests/generate_test_inputs.sh
--- old/libbfio-20260612/tests/generate_test_inputs.sh  2026-06-12 
15:26:46.000000000 +0200
+++ new/libbfio-20260623/tests/generate_test_inputs.sh  2026-06-23 
08:04:52.000000000 +0200
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Script to generate test_inputs.at
 #
-# Version: 20260610
+# Version: 20260617
 
 ignore_list_add() {
     if ! ignore_list_contains "$1"; then
@@ -38,9 +38,14 @@
 }
 
 read_options() {
+    INPUT=$1
+    TEST_PROFILE=$2
+    TEST_SET=$3
+    TEST_FILENAME=$4
+    OPTION_SET=$5
     OPTIONS=""
 
-    FILE="$1/$2.$3"
+    FILE="${INPUT}/.${TEST_PROFILE}/${TEST_SET}/${TEST_FILENAME}.${OPTION_SET}"
     if test -f "${FILE}"; then
         # The original format of the options file contains all options on the 
first line.
         OPTIONS=`head -n 1 "${FILE}" | sed 's/[\r\n]*$//'`
@@ -53,7 +58,7 @@
                     offset=*)            OPTION="-o${LINE#offset=}" ;;
                     password=*)          OPTION="-p${LINE#password=}" ;;
                     recovery_password=*) OPTION="-r${LINE#recovery_password=}" 
;;
-                    startup_key=*)       OPTION="-s${LINE#startup_key=}" ;;
+                    startup_key=*)       
OPTION="-s\$abs_srcdir/${INPUT}/${TEST_SET}/${LINE#startup_key=}" ;;
                     virtual_address=*)   OPTION="-v${LINE#virtual_address=}" ;;
                     *)                   OPTION= ;;
                 esac
@@ -87,12 +92,13 @@
 }
 
 glob_test_files() {
+    TEST_FILES_GLOB=$2
     TEST_FILES=""
 
-    for LINE in "$1"/${INPUT_GLOB}; do
-        if test -e ${LINE}; then
+    for LINE in "$1"/${TEST_FILES_GLOB}; do
+        if test -e "${LINE}"; then
             test_files_push "${LINE}"
-       fi
+        fi
     done
 }
 
@@ -134,10 +140,10 @@
     if test -z "${OPTION_SETS}" || test "${OPTION_SETS}" = "|"; then
         OPTION_SET=""
     else
-        OPTION_SET="${OPTION_SETS%%,*}"
+        OPTION_SET="${OPTION_SETS%%|*}"
 
         case "${OPTION_SETS}" in
-            *\|*) OPTION_SETS="${OPTION_SETS#*,}" ;;
+            *\|*) OPTION_SETS="${OPTION_SETS#*|}" ;;
             *)    OPTION_SETS="" ;;
         esac
     fi
@@ -164,17 +170,11 @@
                     if test "${CURRENT_SECTION}" = "tests"; then
                         case "${LINE}" in
                             input_glob:*)
-                                INPUT_GLOB="${LINE#*:}"
-                                INPUT_GLOB="${INPUT_GLOB//\"/}"
-                                INPUT_GLOB="${INPUT_GLOB// /}"
+                                INPUT_GLOB=`printf '%s' "${LINE#*:}" | tr -d 
'" '`
                                 ;;
 
                             option_sets:*)
-                                OPTION_SETS="${LINE#*:}"
-                                OPTION_SETS="${OPTION_SETS//\[/}"
-                                OPTION_SETS="${OPTION_SETS//\]/}"
-                                OPTION_SETS="${OPTION_SETS//\"/}"
-                                OPTION_SETS="${OPTION_SETS// /}"
+                                OPTION_SETS=`printf '%s' "${LINE#*:}" | tr -d 
'[]" ' | tr ',' '|'`
                                 ;;
                         esac
                     fi
@@ -198,11 +198,13 @@
 
 read_project_ini "${PACKAGE_NAME}"
 
+BACKUP_OPTION_SETS="${OPTION_SETS}"
+
 if test -d "${INPUT}"; then
     read_ignore_list "${INPUT}/.${TEST_PROFILE}"
 
     for TEST_SET in "${INPUT}"/*; do
-        TEST_SET=`basename ${TEST_SET}`
+        TEST_SET=`basename "${TEST_SET}"`
 
         if test ! -d "${INPUT}/${TEST_SET}"; then
             echo "Skipping '${TEST_SET}' not a directory"
@@ -220,28 +222,46 @@
         if test ${GLOB_FILES} -eq 0; then
             read_test_files "${INPUT}/.${TEST_PROFILE}/${TEST_SET}" 
"${INPUT}/${TEST_SET}"
         else
-            glob_test_files "${INPUT}/${TEST_SET}"
+            GLOB_FILE="${INPUT}/.${TEST_PROFILE}/glob"
+            if test -f "${GLOB_FILE}"; then
+                TEST_FILES_GLOB=`head -n 1 "${GLOB_FILE}" | sed 's/[\r\n]*$//'`
+            else
+                TEST_FILES_GLOB="${INPUT_GLOB}"
+            fi
+            glob_test_files "${INPUT}/${TEST_SET}" "${TEST_FILES_GLOB}"
         fi
         if test -z "${TEST_FILES}"; then
             echo "Skipping '${TEST_SET}' no test files"
             continue
         fi
         while test_files_pop; test -n "${TEST_FILE}"; do
-            TEST_FILENAME=`basename ${TEST_FILE}`
+            TEST_FILENAME=`basename "${TEST_FILE}"`
 
             if test ${GLOB_FILES} -eq 0 && test ! -f "${TEST_FILE}"; then
                 echo "Skipping missing file '${TEST_FILENAME}' defined in 
'${TEST_SET}/files'"
                 continue
             fi
             TEST_FILE="${TEST_FILE#*input/}"
+
+            # Escape [ and ] as @<:@ and @:>@
+            TEST_FILE=`echo "${TEST_FILE}" | sed 's/\[/@<:@/g;s/\]/@:>@/g'`
+
+            OPTIONS_PER_PROFILE=""
+            OPTIONS_FILE="${INPUT}/.${TEST_PROFILE}/options"
+            if test -f "${OPTIONS_FILE}"; then
+                OPTIONS_PER_PROFILE=`head -n 1 "${OPTIONS_FILE}" | sed 
's/[\r\n]*$//'`
+            fi
             TEST_WITH_OPTIONS=0
 
+            OPTION_SETS="${BACKUP_OPTION_SETS}"
             while option_sets_pop; test -n "${OPTION_SET}"; do
-                read_options "${INPUT}/.${TEST_PROFILE}/${TEST_SET}" 
"${TEST_FILENAME}" "${OPTION_SET}"
+                read_options "${INPUT}" "${TEST_PROFILE}" "${TEST_SET}" 
"${TEST_FILENAME}" "${OPTION_SET}"
 
                 if test -n "${OPTIONS}"; then
+                    if test -n "${OPTIONS_PER_PROFILE}"; then
+                        OPTIONS="${OPTIONS_PER_PROFILE} ${OPTIONS}"
+                    fi
                     TEST_INPUT="[${OPTION_SET}], [${OPTIONS}], [${TEST_FILE}]"
-                    echo "Adding ${TEST_INPUT}"
                     test_inputs_push "${TEST_INPUT}"
 
                     TEST_WITH_OPTIONS=1
@@ -249,8 +269,7 @@
             done
 
             if test ${TEST_WITH_OPTIONS} -eq 0; then
-                TEST_INPUT="[], [], [${TEST_FILE}]"
-                echo "Adding ${TEST_INPUT}"
+                TEST_INPUT="[], [${OPTIONS_PER_PROFILE}], [${TEST_FILE}]"
                 test_inputs_push "${TEST_INPUT}"
             fi
         done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbfio-20260612/tests/test_macros.at 
new/libbfio-20260623/tests/test_macros.at
--- old/libbfio-20260612/tests/test_macros.at   2026-06-12 15:25:11.000000000 
+0200
+++ new/libbfio-20260623/tests/test_macros.at   2026-06-23 08:04:52.000000000 
+0200
@@ -9,6 +9,39 @@
   [include_test_inputs],
   [m4_include([test_inputs_$1.at])])
 
+dnl Retrieves a values from a test input
+dnl Arguments:
+dnl   test_input
+dnl   value_index
+m4_define([get_test_input_value], [
+  m4_argn([$2], m4_unquote(m4_translit(m4_defn([$1]), [[[]]])))
+])
+
+dnl Strips leading whitespace
+dnl Arguments
+dnl   string
+m4_define([_strip_leading],
+  [m4_bpatsubst([$1], [^\s*])])
+
+dnl Strips trailing whitespace
+dnl Arguments
+dnl   string
+m4_define([_strip_trailing],
+  [m4_bpatsubst([$1], [\s*$])])
+
+dnl Strips a trailing newline
+dnl Arguments
+dnl   string
+m4_define([_strip_newline],
+  [m4_translit([$1], [
+])])
+
+dnl Strips a leading and trailing whitespace and trailing newline
+dnl Arguments
+dnl   string
+m4_define([_strip],
+  [_strip_newline([_strip_trailing([_strip_leading([$1])])])])
+
 dnl Sets up helper functions.
 m4_define([SETUP_HELPER_FUNCTIONS],
   [AT_TEST_HELPER_FN(
@@ -28,7 +61,7 @@
     fi
     shift
 
-    $BINARY $[]*
+    $BINARY "$[]@"
     ])
 
   AT_TEST_HELPER_FN(
@@ -104,13 +137,8 @@
       [test -n "${]$1[}"])
 
     AT_CHECK([ath_fn_run_test_binary test_binary])
-    AT_CLEANUP]
-  )]
-)
-
-m4_define([get_test_result_value], [
-  m4_argn([$2], m4_unquote(m4_translit(m4_defn([$1]), [[[]]])))
-])
+    AT_CLEANUP])
+  ])
 
 dnl Runs one or more test binaries with input.
 dnl Arguments:
@@ -126,8 +154,8 @@
     [m4_foreach_w(
       [test_input],
       [$3],
-      [m4_define([test_options], 
m4_normalize(get_test_result_value([test_input], 2)))
-      m4_define([test_file], m4_normalize(get_test_result_value([test_input], 
3)))
+      [m4_define([test_options], 
m4_normalize(get_test_input_value([test_input], 2)))
+      m4_define([test_file], [_strip(get_test_input_value([test_input], 3))])
 
       m4_define(
         [test_binary],
@@ -138,28 +166,23 @@
 
       m4_ifblank(
         test_options,
-        [AT_SETUP(test_binary with input: 'sanitized_test_file')
-
-        AT_SKIP_IF(
-          [test -n "${]$1[}"])
-
-        TEST_FILE=`ath_fn_resolve_test_file "$abs_srcdir/input/test_file"`
+        [m4_define(
+          [test_description],
+          [test_binary with input: 'sanitized_test_file'])],
+        [m4_define(
+          [test_description],
+          [test_binary with options: ']test_options[' and input: 
'sanitized_test_file'])])
 
-        AT_CHECK(
-         [ath_fn_run_test_binary test_binary "${TEST_FILE}"])
+      AT_SETUP(test_description)
 
-       AT_CLEANUP],
-        [AT_SETUP(test_binary with options: 'test_options' and input: 
'sanitized_test_file')
+      AT_SKIP_IF(
+        [test -n "${]$1[}"])
 
-        AT_SKIP_IF(
-          [test -n "${]$1[}"])
+      TEST_FILE=`ath_fn_resolve_test_file "$abs_srcdir/input/test_file"`
 
-        TEST_FILE=`ath_fn_resolve_test_file "$abs_srcdir/input/test_file"`
+      AT_CHECK(
+        [ath_fn_run_test_binary test_binary test_options "${TEST_FILE}"])
 
-        AT_CHECK(
-         [ath_fn_run_test_binary test_binary test_options "${TEST_FILE}"])
-
-        AT_CLEANUP])]
-    )]
-  )]
-)
+      AT_CLEANUP])
+    ])
+  ])

Reply via email to