Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libcerror for openSUSE:Factory 
checked in at 2026-07-07 21:02:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcerror (Old)
 and      /work/SRC/openSUSE:Factory/.libcerror.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcerror"

Tue Jul  7 21:02:48 2026 rev:26 rq:1364093 version:20260703

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcerror/libcerror.changes      2026-06-12 
19:30:35.521847828 +0200
+++ /work/SRC/openSUSE:Factory/.libcerror.new.1982/libcerror.changes    
2026-07-07 21:04:51.677708660 +0200
@@ -1,0 +2,6 @@
+Mon Jul  6 06:18:32 UTC 2026 - Jan Engelhardt <[email protected]>
+
+- Update to release 20260703
+  * The testsuite was updated
+
+-------------------------------------------------------------------

Old:
----
  libcerror-beta-20260612.tar.gz
  libcerror-beta-20260612.tar.gz.asc

New:
----
  libcerror-beta-20260703.tar.gz
  libcerror-beta-20260703.tar.gz.asc

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

Other differences:
------------------
++++++ libcerror.spec ++++++
--- /var/tmp/diff_new_pack.jwEzgj/_old  2026-07-07 21:04:52.361732345 +0200
+++ /var/tmp/diff_new_pack.jwEzgj/_new  2026-07-07 21:04:52.365732483 +0200
@@ -18,7 +18,7 @@
 
 Name:           libcerror
 %define lname  libcerror1
-Version:        20260612
+Version:        20260703
 Release:        0
 Summary:        Library for C error functions
 License:        LGPL-3.0-or-later

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.jwEzgj/_old  2026-07-07 21:04:52.405733868 +0200
+++ /var/tmp/diff_new_pack.jwEzgj/_new  2026-07-07 21:04:52.409734006 +0200
@@ -1,5 +1,5 @@
-mtime: 1781258843
-commit: 7097acf66addd6afadc6bc6351643106ff95d312aa66787b2116b6c9439af10b
+mtime: 1783318726
+commit: 8f79414d62c2e888690243ad900c17664c9e5b2eaefe79e3c1a9996c78744dfe
 url: https://src.opensuse.org/security-forensics/libcerror
 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-07-06 08:18:46.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ libcerror-beta-20260612.tar.gz -> libcerror-beta-20260703.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/Makefile.in 
new/libcerror-20260703/Makefile.in
--- old/libcerror-20260612/Makefile.in  2026-06-12 11:43:56.000000000 +0200
+++ new/libcerror-20260703/Makefile.in  2026-07-03 20:59:39.000000000 +0200
@@ -326,6 +326,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/common/Makefile.in 
new/libcerror-20260703/common/Makefile.in
--- old/libcerror-20260612/common/Makefile.in   2026-06-12 11:43:56.000000000 
+0200
+++ new/libcerror-20260703/common/Makefile.in   2026-07-03 20:59:39.000000000 
+0200
@@ -225,6 +225,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/common/config.h 
new/libcerror-20260703/common/config.h
--- old/libcerror-20260612/common/config.h      2026-06-12 11:37:54.000000000 
+0200
+++ new/libcerror-20260703/common/config.h      2026-07-03 19:25:37.000000000 
+0200
@@ -46,9 +46,6 @@
 /* Define to 1 if you have the 'fgetws' function. */
 #define HAVE_FGETWS 1
 
-/* Define to 1 if you have the 'fmemopen' function. */
-#define HAVE_FMEMOPEN 1
-
 /* Define to 1 if you have the 'fopen' function. */
 #define HAVE_FOPEN 1
 
@@ -196,6 +193,9 @@
 /* Define to 1 if you have the <sys/types.h> header file. */
 #define HAVE_SYS_TYPES_H 1
 
+/* Define to 1 if you have the 'tmpfile' function. */
+#define HAVE_TMPFILE 1
+
 /* Define to 1 if you have the 'towlower' function. */
 #define HAVE_TOWLOWER 1
 
@@ -284,7 +284,7 @@
 #define PACKAGE_NAME "libcerror"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libcerror 20260612"
+#define PACKAGE_STRING "libcerror 20260703"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libcerror"
@@ -293,7 +293,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "20260612"
+#define PACKAGE_VERSION "20260703"
 
 /* The size of 'int', as computed by sizeof. */
 #define SIZEOF_INT 4
@@ -319,7 +319,7 @@
 /* #undef STRERROR_R_CHAR_P */
 
 /* Version number of package */
-#define VERSION "20260612"
+#define VERSION "20260703"
 
 /* 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/libcerror-20260612/common/config.h.in 
new/libcerror-20260703/common/config.h.in
--- old/libcerror-20260612/common/config.h.in   2026-06-12 11:43:56.000000000 
+0200
+++ new/libcerror-20260703/common/config.h.in   2026-07-03 20:59:39.000000000 
+0200
@@ -45,9 +45,6 @@
 /* Define to 1 if you have the 'fgetws' function. */
 #undef HAVE_FGETWS
 
-/* Define to 1 if you have the 'fmemopen' function. */
-#undef HAVE_FMEMOPEN
-
 /* Define to 1 if you have the 'fopen' function. */
 #undef HAVE_FOPEN
 
@@ -195,6 +192,9 @@
 /* Define to 1 if you have the <sys/types.h> header file. */
 #undef HAVE_SYS_TYPES_H
 
+/* Define to 1 if you have the 'tmpfile' function. */
+#undef HAVE_TMPFILE
+
 /* Define to 1 if you have the 'towlower' function. */
 #undef HAVE_TOWLOWER
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/configure 
new/libcerror-20260703/configure
--- old/libcerror-20260612/configure    2026-06-12 11:43:55.000000000 +0200
+++ new/libcerror-20260703/configure    2026-07-03 20:59:39.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for libcerror 20260612.
+# Generated by GNU Autoconf 2.72 for libcerror 20260703.
 #
 # Report bugs to <https://github.com/libyal/libcerror/issues>.
 #
@@ -614,8 +614,8 @@
 # Identity of this package.
 PACKAGE_NAME='libcerror'
 PACKAGE_TARNAME='libcerror'
-PACKAGE_VERSION='20260612'
-PACKAGE_STRING='libcerror 20260612'
+PACKAGE_VERSION='20260703'
+PACKAGE_STRING='libcerror 20260703'
 PACKAGE_BUGREPORT='https://github.com/libyal/libcerror/issues'
 PACKAGE_URL=''
 
@@ -660,9 +660,11 @@
 LIBOBJS
 SPEC_DATE
 DPKG_DATE
+TESTS_USE_WINAPI
 TESTS_USE_MINGW
 TESTS_MANPAGE_LINTER
 ZCAT
+MD5SUM
 GZIP_COMMAND
 MANDOC
 MAN
@@ -820,7 +822,6 @@
 PACKAGE_NAME
 PATH_SEPARATOR
 SHELL
-TESTS_USE_WINAPI
 am__quote'
 ac_subst_files=''
 ac_user_opts='
@@ -1407,7 +1408,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 libcerror 20260612 to adapt to many kinds of systems.
+'configure' configures libcerror 20260703 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1478,7 +1479,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libcerror 20260612:";;
+     short | recursive ) echo "Configuration of libcerror 20260703:";;
    esac
   cat <<\_ACEOF
 
@@ -1604,7 +1605,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libcerror configure 20260612
+libcerror configure 20260703
 generated by GNU Autoconf 2.72
 
 Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2219,7 +2220,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libcerror $as_me 20260612, which was
+It was created by libcerror $as_me 20260703, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3700,7 +3701,7 @@
 
 # Define the identity of the package.
  PACKAGE='libcerror'
- VERSION='20260612'
+ VERSION='20260703'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -20549,13 +20550,7 @@
 fi
 
 
-  ac_fn_c_check_func "$LINENO" "fmemopen" "ac_cv_func_fmemopen"
-if test "x$ac_cv_func_fmemopen" = xyes
-then :
-  printf "%s\n" "#define HAVE_FMEMOPEN 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
+  ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
 if test "x$ac_cv_func_getopt" = xyes
 then :
   printf "%s\n" "#define HAVE_GETOPT 1" >>confdefs.h
@@ -20573,6 +20568,12 @@
   printf "%s\n" "#define HAVE_SETENV 1" >>confdefs.h
 
 fi
+ac_fn_c_check_func "$LINENO" "tmpfile" "ac_cv_func_tmpfile"
+if test "x$ac_cv_func_tmpfile" = xyes
+then :
+  printf "%s\n" "#define HAVE_TMPFILE 1" >>confdefs.h
+
+fi
 ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset"
 if test "x$ac_cv_func_tzset" = xyes
 then :
@@ -20944,10 +20945,11 @@
 
     printf '.Dd June 10, 2026\n.Dt TITLE 1\n.Os\n.Sh NAME\n.Nm command\n.Nd 
example\n' > conftest.1
 
+    # Note that if man cannot set the locale it will exit with 0 but print to 
stderr
     if test "x$MAN" != x
 then :
-  LC_ALL="en_US.UTF-8" MANROFFSEQ="" MANWIDTH="80" "$MAN" --warnings -E UTF-8 
-l -Tutf8 -Z conftest.1 >/dev/null 2>&1
-      if test $? -eq 0
+  LC_ALL="en_US.UTF-8" MANROFFSEQ="" MANWIDTH="80" "$MAN" --warnings -E UTF-8 
-l -Tutf8 -Z conftest.1 >/dev/null 2>conftest.err
+      if test $? -eq 0 && ! test -s conftest.err
 then :
   ac_cv_have_manpage_linter="man-db"
 fi
@@ -20956,16 +20958,16 @@
 
     if test "x$ac_cv_have_manpage_linter" = xno && test "x$MANDOC" != x
 then :
-  LC_ALL="en_US.UTF-8" "$MANDOC" -O width=80 -T lint -W all ./conftest.1 
>/dev/null 2>&1
+  LC_ALL="en_US.UTF-8" "$MANDOC" -O width=80 -T lint -W all ./conftest.1 
>/dev/null 2>conftest.err
 
-      if test $? -eq 0
+      if test $? -eq 0 && ! test -s conftest.err
 then :
   ac_cv_have_manpage_linter="mandoc"
 fi
 
 fi
 
-    rm -f conftest.1
+    rm -f conftest.1 conftest.err
      ;;
 esac
 fi
@@ -21097,6 +21099,57 @@
 fi
 
 
+  for ac_prog in md5sum md5
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with 
args.
+set dummy $ac_prog; ac_word=$2
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+printf %s "checking for $ac_word... " >&6; }
+if test ${ac_cv_path_MD5SUM+y}
+then :
+  printf %s "(cached) " >&6
+else case e in #(
+  e) case $MD5SUM in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_MD5SUM="$MD5SUM" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  case $as_dir in #(((
+    '') as_dir=./ ;;
+    */) ;;
+    *) as_dir=$as_dir/ ;;
+  esac
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+    ac_cv_path_MD5SUM="$as_dir$ac_word$ac_exec_ext"
+    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found 
$as_dir$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  ;;
+esac ;;
+esac
+fi
+MD5SUM=$ac_cv_path_MD5SUM
+if test -n "$MD5SUM"; then
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5
+printf "%s\n" "$MD5SUM" >&6; }
+else
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+fi
+
+
+  test -n "$MD5SUM" && break
+done
+
   # Extract the first word of "zcat", so it can be a program name with args.
 set dummy zcat; ac_word=$2
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -21165,6 +21218,8 @@
 
   TESTS_USE_MINGW=$ac_cv_tests_use_mingw
 
+  TESTS_USE_WINAPI=$ac_cv_enable_winapi
+
 
 
 CFLAGS="$CFLAGS -Wall";
@@ -21766,7 +21821,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libcerror $as_me 20260612, which was
+This file was extended by libcerror $as_me 20260703, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -21834,7 +21889,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libcerror config.status 20260612
+libcerror config.status 20260703
 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/libcerror-20260612/configure.ac 
new/libcerror-20260703/configure.ac
--- old/libcerror-20260612/configure.ac 2026-06-12 11:37:53.000000000 +0200
+++ new/libcerror-20260703/configure.ac 2026-07-03 19:03:24.000000000 +0200
@@ -2,7 +2,7 @@
 
 AC_INIT(
   [libcerror],
-  [20260612],
+  [20260703],
   [https://github.com/libyal/libcerror/issues])
 
 AC_CONFIG_SRCDIR(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/dpkg/changelog 
new/libcerror-20260703/dpkg/changelog
--- old/libcerror-20260612/dpkg/changelog       2026-06-12 11:43:59.000000000 
+0200
+++ new/libcerror-20260703/dpkg/changelog       2026-07-03 20:59:43.000000000 
+0200
@@ -1,5 +1,5 @@
-libcerror (20260612-1) unstable; urgency=low
+libcerror (20260703-1) unstable; urgency=low
 
   * Auto-generated
 
- -- Joachim Metz <[email protected]>  Fri, 12 Jun 2026 11:43:59 +0200
+ -- Joachim Metz <[email protected]>  Fri, 03 Jul 2026 20:59:42 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/dpkg/compat 
new/libcerror-20260703/dpkg/compat
--- old/libcerror-20260612/dpkg/compat  2026-06-12 11:37:53.000000000 +0200
+++ new/libcerror-20260703/dpkg/compat  2026-07-03 19:03:24.000000000 +0200
@@ -1 +1 @@
-10
+13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/dpkg/control 
new/libcerror-20260703/dpkg/control
--- old/libcerror-20260612/dpkg/control 2026-06-12 11:37:53.000000000 +0200
+++ new/libcerror-20260703/dpkg/control 2026-07-03 19:03:24.000000000 +0200
@@ -1,7 +1,7 @@
 Source: libcerror
 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/libcerror
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/dpkg/rules 
new/libcerror-20260703/dpkg/rules
--- old/libcerror-20260612/dpkg/rules   2026-06-12 11:37:53.000000000 +0200
+++ new/libcerror-20260703/dpkg/rules   2026-07-03 19:03:24.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/libcerror-20260612/include/Makefile.in 
new/libcerror-20260703/include/Makefile.in
--- old/libcerror-20260612/include/Makefile.in  2026-06-12 11:43:56.000000000 
+0200
+++ new/libcerror-20260703/include/Makefile.in  2026-07-03 20:59:39.000000000 
+0200
@@ -254,6 +254,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/include/libcerror/definitions.h 
new/libcerror-20260703/include/libcerror/definitions.h
--- old/libcerror-20260612/include/libcerror/definitions.h      2026-06-12 
11:43:59.000000000 +0200
+++ new/libcerror-20260703/include/libcerror/definitions.h      2026-07-03 
20:59:43.000000000 +0200
@@ -24,11 +24,11 @@
 
 #include <libcerror/types.h>
 
-#define LIBCERROR_VERSION                              20260612
+#define LIBCERROR_VERSION                              20260703
 
 /* The libcerror version string
  */
-#define LIBCERROR_VERSION_STRING                       "20260612"
+#define LIBCERROR_VERSION_STRING                       "20260703"
 
 /* The error domains
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/libcerror/Makefile.in 
new/libcerror-20260703/libcerror/Makefile.in
--- old/libcerror-20260612/libcerror/Makefile.in        2026-06-12 
11:43:56.000000000 +0200
+++ new/libcerror-20260703/libcerror/Makefile.in        2026-07-03 
20:59:39.000000000 +0200
@@ -290,6 +290,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/libcerror/libcerror.rc 
new/libcerror-20260703/libcerror/libcerror.rc
--- old/libcerror-20260612/libcerror/libcerror.rc       2026-06-12 
11:43:59.000000000 +0200
+++ new/libcerror-20260703/libcerror/libcerror.rc       2026-07-03 
20:59:43.000000000 +0200
@@ -22,12 +22,12 @@
     BLOCK "040904E4"
     BEGIN
       VALUE "FileDescription",         "Library to support cross-platform C 
error functions\0"
-      VALUE "FileVersion",             "20260612" "\0"
+      VALUE "FileVersion",             "20260703" "\0"
       VALUE "InternalName",            "libcerror.dll\0"
       VALUE "LegalCopyright",          "(C) 2008-2026, Joachim Metz 
<[email protected]>\0"
       VALUE "OriginalFilename",                "libcerror.dll\0"
       VALUE "ProductName",             "libcerror\0"
-      VALUE "ProductVersion",          "20260612" "\0"
+      VALUE "ProductVersion",          "20260703" "\0"
       VALUE "Comments",                        "For more information visit 
https://github.com/libyal/libcerror/\0";
     END
   END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/libcerror/libcerror_definitions.h 
new/libcerror-20260703/libcerror/libcerror_definitions.h
--- old/libcerror-20260612/libcerror/libcerror_definitions.h    2026-06-12 
11:43:59.000000000 +0200
+++ new/libcerror-20260703/libcerror/libcerror_definitions.h    2026-07-03 
20:59:43.000000000 +0200
@@ -35,11 +35,11 @@
  */
 #else
 
-#define LIBCERROR_VERSION                              20260612
+#define LIBCERROR_VERSION                              20260703
 
 /* The libcerror version string
  */
-#define LIBCERROR_VERSION_STRING                       "20260612"
+#define LIBCERROR_VERSION_STRING                       "20260703"
 
 /* The error domains
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/libcerror/libcerror_error.c 
new/libcerror-20260703/libcerror/libcerror_error.c
--- old/libcerror-20260612/libcerror/libcerror_error.c  2026-06-12 
11:37:54.000000000 +0200
+++ new/libcerror-20260703/libcerror/libcerror_error.c  2026-07-03 
19:03:24.000000000 +0200
@@ -497,7 +497,7 @@
        int message_index                          = 0;
        int print_count                            = 0;
 
-#if defined( WINAPI )
+#if defined( WINAPI ) || defined( __MINGW32__ )
        const char *format_string                  = "%" PRIs_SYSTEM "\r\n";
 #else
        const char *format_string                  = "%" PRIs_SYSTEM "\n";
@@ -649,7 +649,7 @@
        int print_count                            = 0;
        int total_print_count                      = 0;
 
-#if defined( WINAPI )
+#if defined( WINAPI ) || defined( __MINGW32__ )
        const char *format_string                  = "%" PRIs_SYSTEM "\r\n";
 #else
        const char *format_string                  = "%" PRIs_SYSTEM "\n";
@@ -748,7 +748,7 @@
                {
                        if( string_index > 0 )
                        {
-#if defined( WINAPI )
+#if defined( WINAPI ) || defined( __MINGW32__ )
                                if( ( string_index + 2 ) >= size )
                                {
                                        return( -1 );
@@ -759,7 +759,7 @@
                                {
                                        return( -1 );
                                }
-#endif /* defined( WINAPI ) */
+#endif /* defined( WINAPI ) || defined( __MINGW32__ ) */
 
                                string[ string_index++ ] = (system_character_t) 
'\n';
                                string[ string_index ]   = (system_character_t) 
0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/libcerror.spec 
new/libcerror-20260703/libcerror.spec
--- old/libcerror-20260612/libcerror.spec       2026-06-12 11:43:59.000000000 
+0200
+++ new/libcerror-20260703/libcerror.spec       2026-07-03 20:59:43.000000000 
+0200
@@ -1,5 +1,5 @@
 Name: libcerror
-Version: 20260612
+Version: 20260703
 Release: 1
 Summary: Library to support cross-platform C error functions
 Group: System Environment/Libraries
@@ -64,6 +64,6 @@
 %{_mandir}/man3/*
 
 %changelog
-* Fri Jun 12 2026 Joachim Metz <[email protected]> 20260612-1
+* Fri Jul  3 2026 Joachim Metz <[email protected]> 20260703-1
 - Auto-generated
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/m4/tests.m4 
new/libcerror-20260703/m4/tests.m4
--- old/libcerror-20260612/m4/tests.m4  2026-06-12 11:38:50.000000000 +0200
+++ new/libcerror-20260703/m4/tests.m4  2026-07-03 19:24:45.000000000 +0200
@@ -1,6 +1,6 @@
 dnl Functions for testing
 dnl
-dnl Version: 20260612
+dnl Version: 20260703
 
 dnl Function to check if pthread_rwlock_unlock can be hooked for testing
 AC_DEFUN([AX_TESTS_CHECK_CAN_HOOK_PTHREAD_RWLOCK_UNLOCK],
@@ -85,24 +85,25 @@
 
     printf '.Dd June 10, 2026\n.Dt TITLE 1\n.Os\n.Sh NAME\n.Nm command\n.Nd 
example\n' > conftest.1
 
+    # Note that if man cannot set the locale it will exit with 0 but print to 
stderr
     AS_IF(
       [test "x$MAN" != x],
-      [LC_ALL="en_US.UTF-8" MANROFFSEQ="" MANWIDTH="80" "$MAN" --warnings -E 
UTF-8 -l -Tutf8 -Z conftest.1 >/dev/null 2>&1
+      [LC_ALL="en_US.UTF-8" MANROFFSEQ="" MANWIDTH="80" "$MAN" --warnings -E 
UTF-8 -l -Tutf8 -Z conftest.1 >/dev/null 2>conftest.err
       AS_IF(
-        [test $? -eq 0],
+        [test $? -eq 0 && ! test -s conftest.err],
        [ac_cv_have_manpage_linter="man-db"])
       ])
 
     AS_IF(
       [test "x$ac_cv_have_manpage_linter" = xno && test "x$MANDOC" != x],
-      [LC_ALL="en_US.UTF-8" "$MANDOC" -O width=80 -T lint -W all ./conftest.1 
>/dev/null 2>&1
+      [LC_ALL="en_US.UTF-8" "$MANDOC" -O width=80 -T lint -W all ./conftest.1 
>/dev/null 2>conftest.err
 
       AS_IF(
-        [test $? -eq 0],
+        [test $? -eq 0 && ! test -s conftest.err],
        [ac_cv_have_manpage_linter="mandoc"])
       ])
 
-    rm -f conftest.1
+    rm -f conftest.1 conftest.err
     ])
   ])
 
@@ -251,7 +252,7 @@
 AC_DEFUN([AX_TESTS_CHECK_LOCAL],
   [AC_CHECK_HEADERS([dlfcn.h])
 
-  AC_CHECK_FUNCS([fmemopen getopt mkstemp setenv tzset unlink])
+  AC_CHECK_FUNCS([getopt mkstemp setenv tmpfile tzset unlink])
 
   AC_CHECK_LIB(
     dl,
@@ -280,6 +281,7 @@
 
   dnl Note cannot use GZIP given it has a special purpose within gzip
   AC_PATH_PROG(GZIP_COMMAND, [gzip])
+  AC_PATH_PROGS([MD5SUM], [md5sum md5])
   AC_PATH_PROG(ZCAT, [zcat])
 
   AC_SUBST(
@@ -300,7 +302,6 @@
   AC_SUBST(
     [TESTS_USE_MINGW],
     [$ac_cv_tests_use_mingw])
-  ])
   AC_SUBST(
     [TESTS_USE_WINAPI],
     [$ac_cv_enable_winapi])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/manuals/Makefile.am 
new/libcerror-20260703/manuals/Makefile.am
--- old/libcerror-20260612/manuals/Makefile.am  2026-06-12 11:37:54.000000000 
+0200
+++ new/libcerror-20260703/manuals/Makefile.am  2026-07-03 19:03:24.000000000 
+0200
@@ -2,7 +2,7 @@
        libcerror.3
 
 EXTRA_DIST = \
-       libcerror.3
+       $(man_MANS)
 
 DISTCLEANFILES = \
        Makefile \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/manuals/Makefile.in 
new/libcerror-20260703/manuals/Makefile.in
--- old/libcerror-20260612/manuals/Makefile.in  2026-06-12 11:43:56.000000000 
+0200
+++ new/libcerror-20260703/manuals/Makefile.in  2026-07-03 20:59:39.000000000 
+0200
@@ -237,6 +237,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
@@ -332,7 +333,7 @@
        libcerror.3
 
 EXTRA_DIST = \
-       libcerror.3
+       $(man_MANS)
 
 DISTCLEANFILES = \
        Makefile \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/msvscpp/Makefile.in 
new/libcerror-20260703/msvscpp/Makefile.in
--- old/libcerror-20260612/msvscpp/Makefile.in  2026-06-12 11:43:56.000000000 
+0200
+++ new/libcerror-20260703/msvscpp/Makefile.in  2026-07-03 20:59:39.000000000 
+0200
@@ -207,6 +207,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/tests/Makefile.am 
new/libcerror-20260703/tests/Makefile.am
--- old/libcerror-20260612/tests/Makefile.am    2026-06-12 11:37:54.000000000 
+0200
+++ new/libcerror-20260703/tests/Makefile.am    2026-07-03 19:03:24.000000000 
+0200
@@ -81,14 +81,20 @@
          echo 'm4_define([AT_PACKAGE_BUGREPORT], [$(PACKAGE_BUGREPORT)])' ; \
        } > $@
 
-test_library: package.m4 test_library.at test_macros.at
+test_library: \
+       package.m4 \
+       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) \
        package.m4 \
-       test_macros.at
+       test_library.at \
+       test_macros.at \
+       test_manpages.at
 
 CLEANFILES = \
        $(check_AUTOTESTS) \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/tests/Makefile.in 
new/libcerror-20260703/tests/Makefile.in
--- old/libcerror-20260612/tests/Makefile.in    2026-06-12 11:43:56.000000000 
+0200
+++ new/libcerror-20260703/tests/Makefile.in    2026-07-03 20:59:39.000000000 
+0200
@@ -269,6 +269,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
@@ -403,9 +404,10 @@
 AUTOTEST = $(AUTOM4TE) --language=autotest
 SUFFIXES = .at
 EXTRA_DIST = \
-       $(check_AUTOTESTS:=.at) \
        package.m4 \
-       test_macros.at
+       test_library.at \
+       test_macros.at \
+       test_manpages.at
 
 CLEANFILES = \
        $(check_AUTOTESTS) \
@@ -784,9 +786,14 @@
          echo 'm4_define([AT_PACKAGE_BUGREPORT], [$(PACKAGE_BUGREPORT)])' ; \
        } > $@
 
-test_library: package.m4 test_library.at test_macros.at
+test_library: \
+       package.m4 \
+       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/libcerror-20260612/tests/atlocal.in 
new/libcerror-20260703/tests/atlocal.in
--- old/libcerror-20260612/tests/atlocal.in     2026-06-12 11:37:53.000000000 
+0200
+++ new/libcerror-20260703/tests/atlocal.in     2026-07-03 19:03:24.000000000 
+0200
@@ -1,11 +1,10 @@
 # Settings used in test_macros.at
 CYGPATH="@CYGPATH@"
-OBJDUMP="@OBJDUMP@"
 USE_MINGW="@TESTS_USE_MINGW@"
 USE_WINAPI="@TESTS_USE_WINAPI@"
 WINEPATH="@WINEPATH@"
 
-export CYGPATH OBJDUMP USE_MINGW USE_WINAPI WINEPATH
+export CYGPATH USE_MINGW USE_WINAPI WINEPATH
 
 # Settings used in test_manpages.at
 MAN="@MAN@"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/tests/cerror_test_error.c 
new/libcerror-20260703/tests/cerror_test_error.c
--- old/libcerror-20260612/tests/cerror_test_error.c    2026-06-12 
11:37:54.000000000 +0200
+++ new/libcerror-20260703/tests/cerror_test_error.c    2026-07-03 
19:03:24.000000000 +0200
@@ -60,21 +60,9 @@
 #if defined( HAVE_CERROR_TEST_FUNCTION_HOOK )
 
 #if defined( OPTIMIZATION_DISABLED )
-static int (*cerror_test_real_fprintf)(FILE *, const char *, ...)              
 = NULL;
+static int (*cerror_test_real_fprintf)(FILE *, const char *, ...) = NULL;
 
-int cerror_test_fprintf_attempts_before_fail                                   
 = -1;
-#endif
-
-static int (*cerror_test_real_vsnprintf)(char *, size_t, const char *, 
va_list) = NULL;
-
-int cerror_test_vsnprintf_attempts_before_fail                                 
 = -1;
-int cerror_test_vsnprintf_fail_return_value                                    
 = -1;
-
-#endif /* defined( HAVE_CERROR_TEST_FUNCTION_HOOK ) */
-
-#if defined( HAVE_CERROR_TEST_FUNCTION_HOOK )
-
-#if defined( OPTIMIZATION_DISABLED )
+int cerror_test_fprintf_attempts_before_fail                      = -1;
 
 /* Custom fprintf for testing error cases
  * Returns the number of characters printed if successful or an error value 
otherwise
@@ -93,6 +81,11 @@
                cerror_test_real_fprintf = dlsym(
                                            RTLD_NEXT,
                                            "fprintf" );
+
+               if( cerror_test_real_fprintf == NULL )
+               {
+                       return( -1 );
+               }
        }
        if( cerror_test_fprintf_attempts_before_fail == 0 )
        {
@@ -121,6 +114,11 @@
 
 #endif /* defined( OPTIMIZATION_DISABLED ) */
 
+static int (*cerror_test_real_vsnprintf)(char *, size_t, const char *, 
va_list) = NULL;
+
+int cerror_test_vsnprintf_attempts_before_fail                                 
 = -1;
+int cerror_test_vsnprintf_fail_return_value                                    
 = -1;
+
 /* Custom vsnprintf for testing error cases
  * Returns the number of characters printed if successful or an error value 
otherwise
  */
@@ -137,6 +135,11 @@
                cerror_test_real_vsnprintf = dlsym(
                                              RTLD_NEXT,
                                              "vsnprintf" );
+
+               if( cerror_test_real_vsnprintf == NULL )
+               {
+                       return( -1 );
+               }
        }
        if( cerror_test_vsnprintf_attempts_before_fail == 0 )
        {
@@ -159,6 +162,94 @@
 
 #endif /* defined( HAVE_CERROR_TEST_FUNCTION_HOOK ) */
 
+/* Compares the contents of the stream with the expected data and rewinds the 
stream
+ * Returns 1 if successful or 0 if not
+ */
+int cerror_test_compare_stream(
+     FILE *stream,
+     const char *expected_data,
+     size_t expected_data_size )
+{
+       char buffer[ 512 ];
+
+       ssize_t read_count = 0;
+       int result         = 0;
+
+       CERROR_TEST_ASSERT_IS_NOT_NULL(
+        "stream",
+        stream );
+
+       CERROR_TEST_ASSERT_IS_NOT_NULL(
+        "expected_data",
+        expected_data );
+
+       if( expected_data_size > 512 )
+       {
+               return( 0 );
+       }
+       result = fflush(
+                 stream );
+
+       CERROR_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        0 );
+
+       result = fseek(
+                 stream,
+                 0,
+                 SEEK_SET );
+
+       CERROR_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        0 );
+
+       memory_set(
+        buffer,
+        0,
+        512 );
+
+       read_count = fread(
+                     buffer,
+                     1,
+                     expected_data_size,
+                     stream );
+
+       CERROR_TEST_ASSERT_EQUAL_SSIZE(
+        "read_count",
+        read_count,
+        (ssize_t) expected_data_size );
+
+       result = fseek(
+                 stream,
+                 0,
+                 SEEK_SET );
+
+       CERROR_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        0 );
+
+       clearerr(
+        stream );
+
+       result = narrow_string_compare(
+                 buffer,
+                 expected_data,
+                 expected_data_size );
+
+       CERROR_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        0 );
+
+       return( 1 );
+
+on_error:
+       return( 0 );
+}
+
 #if defined( __GNUC__ ) && !defined( LIBCERROR_DLL_IMPORT )
 
 /* Tests the libcerror_error_initialize function
@@ -821,20 +912,18 @@
        return( 0 );
 }
 
-#if defined( HAVE_FMEMOPEN ) && !defined( WINAPI )
-
 /* Tests the libcerror_error_fprint function
  * Returns 1 if successful or 0 if not
  */
 int cerror_test_error_fprint(
      void )
 {
-       char string[ 128 ];
-
        libcerror_error_t *error      = NULL;
        system_character_t *message   = NULL;
        system_character_t **messages = NULL;
        FILE *stream                  = NULL;
+       const char *expected_string   = NULL;
+       int expected_print_count      = 0;
        int print_count               = 0;
        int result                    = 0;
 
@@ -850,55 +939,48 @@
         "error",
         error );
 
+       stream = tmpfile();
+
+       CERROR_TEST_ASSERT_IS_NOT_NULL(
+        "stream",
+        stream );
+
        /* Test libcerror_error_fprint
         */
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
+#if defined( WINAPI ) || defined( __MINGW32__ )
+       expected_string      = "Test error.\r\n";
+       expected_print_count = 13;
+#else
+       expected_string      = "Test error.\n";
+       expected_print_count = 12;
+#endif
        print_count = libcerror_error_fprint(
                       error,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        CERROR_TEST_ASSERT_EQUAL_INT(
         "print_count",
         print_count,
-        12 )
+        expected_print_count )
 
-       result = narrow_string_compare(
-                 string,
-                 "Test error.",
-                 11 );
+       result = cerror_test_compare_stream(
+                 stream,
+                 expected_string,
+                 expected_print_count );
 
        CERROR_TEST_ASSERT_EQUAL_INT(
         "result",
         result,
-        0 );
+        1 );
 
        message = ( (libcerror_internal_error_t *) error )->messages[ 0 ];
 
        ( (libcerror_internal_error_t *) error )->messages[ 0 ] = NULL;
 
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_fprint(
                       error,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        ( (libcerror_internal_error_t *) error )->messages[ 0 ] = message;
 
        CERROR_TEST_ASSERT_EQUAL_INT(
@@ -908,20 +990,10 @@
 
        /* Test error cases
         */
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_fprint(
                       NULL,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        CERROR_TEST_ASSERT_EQUAL_INT(
         "print_count",
         print_count,
@@ -940,20 +1012,10 @@
 
        ( (libcerror_internal_error_t *) error )->messages = NULL;
 
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_fprint(
                       error,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        ( (libcerror_internal_error_t *) error )->messages = messages;
 
        CERROR_TEST_ASSERT_EQUAL_INT(
@@ -967,20 +1029,10 @@
         */
        cerror_test_fprintf_attempts_before_fail = 0;
 
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_fprint(
                       error,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        if( cerror_test_fprintf_attempts_before_fail != -1 )
        {
                cerror_test_fprintf_attempts_before_fail = -1;
@@ -1020,20 +1072,10 @@
        ( (libcerror_internal_error_t *) error )->messages           = NULL;
        ( (libcerror_internal_error_t *) error )->sizes              = NULL;
 
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_fprint(
                       error,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        CERROR_TEST_ASSERT_EQUAL_INT(
         "print_count",
         print_count,
@@ -1046,6 +1088,11 @@
 
 #endif /* defined( __GNUC__ ) && !defined( LIBCERROR_DLL_IMPORT ) */
 
+       fclose(
+        stream );
+
+       stream = NULL;
+
        return( 1 );
 
 on_error:
@@ -1054,6 +1101,11 @@
                libcerror_error_free(
                  &error );
        }
+       if( stream != NULL )
+       {
+               fclose(
+                stream );
+       }
        return( 0 );
 }
 
@@ -1063,8 +1115,6 @@
 int cerror_test_error_backtrace_fprint(
      void )
 {
-       char string[ 128 ];
-
        libcerror_error_t *error      = NULL;
        system_character_t *message   = NULL;
        system_character_t **messages = NULL;
@@ -1096,84 +1146,64 @@
         "error",
         error );
 
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
-       print_count = libcerror_error_backtrace_fprint(
-                      error,
-                      stream );
+       stream = tmpfile();
 
-       fclose(
+       CERROR_TEST_ASSERT_IS_NOT_NULL(
+        "stream",
         stream );
 
-       stream = NULL;
-
-#if defined( WINAPI )
-       expected_string      = "Test error 1.\r\nTest error 2.";
-       expected_print_count = 29;
+#if defined( WINAPI ) || defined( __MINGW32__ )
+       expected_string      = "Test error 1.\r\nTest error 2.\r\n";
+       expected_print_count = 30;
 #else
-       expected_string      = "Test error 1.\nTest error 2.";
+       expected_string      = "Test error 1.\nTest error 2.\n";
        expected_print_count = 28;
 #endif
+       print_count = libcerror_error_backtrace_fprint(
+                      error,
+                      stream );
 
        CERROR_TEST_ASSERT_EQUAL_INT(
         "print_count",
         print_count,
         expected_print_count )
 
-       result = narrow_string_compare(
-                 string,
+       result = cerror_test_compare_stream(
+                 stream,
                  expected_string,
-                 expected_print_count - 1 );
+                 expected_print_count );
 
        CERROR_TEST_ASSERT_EQUAL_INT(
         "result",
         result,
-        0 );
+        1 );
 
+#if defined( WINAPI ) || defined( __MINGW32__ )
+       expected_print_count = 15;
+#else
+       expected_print_count = 14;
+#endif
        message = ( (libcerror_internal_error_t *) error )->messages[ 0 ];
 
        ( (libcerror_internal_error_t *) error )->messages[ 0 ] = NULL;
 
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_backtrace_fprint(
                       error,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        ( (libcerror_internal_error_t *) error )->messages[ 0 ] = message;
 
        CERROR_TEST_ASSERT_EQUAL_INT(
         "print_count",
         print_count,
-        14 )
+        expected_print_count )
 
        /* Test error cases
         */
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_backtrace_fprint(
                       NULL,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        CERROR_TEST_ASSERT_EQUAL_INT(
         "print_count",
         print_count,
@@ -1192,20 +1222,10 @@
 
        ( (libcerror_internal_error_t *) error )->messages = NULL;
 
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_backtrace_fprint(
                       error,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        ( (libcerror_internal_error_t *) error )->messages = messages;
 
        CERROR_TEST_ASSERT_EQUAL_INT(
@@ -1219,20 +1239,10 @@
         */
        cerror_test_fprintf_attempts_before_fail = 0;
 
-       stream = fmemopen(
-                 string,
-                 128,
-                 "w+");
-
        print_count = libcerror_error_backtrace_fprint(
                       error,
                       stream );
 
-       fclose(
-        stream );
-
-       stream = NULL;
-
        if( cerror_test_fprintf_attempts_before_fail != -1 )
        {
                cerror_test_fprintf_attempts_before_fail = -1;
@@ -1255,6 +1265,11 @@
         "error",
         error );
 
+       fclose(
+        stream );
+
+       stream = NULL;
+
        return( 1 );
 
 on_error:
@@ -1263,11 +1278,14 @@
                libcerror_error_free(
                  &error );
        }
+       if( stream != NULL )
+       {
+               fclose(
+                stream );
+       }
        return( 0 );
 }
 
-#endif /* defined( HAVE_FMEMOPEN ) && !defined( WINAPI ) */
-
 /* Tests the libcerror_error_sprint function
  * Returns 1 if successful or 0 if not
  */
@@ -1524,18 +1542,17 @@
         "error",
         error );
 
-       print_count = libcerror_error_backtrace_sprint(
-                      error,
-                      string,
-                      128 );
-
-#if defined( WINAPI )
+#if defined( WINAPI ) || defined( __MINGW32__ )
        expected_string      = "Test error 1.\r\nTest error 2.";
        expected_print_count = 29;
 #else
        expected_string      = "Test error 1.\nTest error 2.";
        expected_print_count = 28;
 #endif
+       print_count = libcerror_error_backtrace_sprint(
+                      error,
+                      string,
+                      128 );
 
        CERROR_TEST_ASSERT_EQUAL_INT(
         "print_count",
@@ -1545,7 +1562,7 @@
        result = narrow_string_compare(
                  string,
                  expected_string,
-                 expected_print_count - 1 );
+                 expected_print_count );
 
        CERROR_TEST_ASSERT_EQUAL_INT(
         "result",
@@ -1574,7 +1591,7 @@
        result = narrow_string_compare(
                  string,
                  expected_string,
-                 expected_print_count - 1 );
+                 expected_print_count );
 
        CERROR_TEST_ASSERT_EQUAL_INT(
         "result",
@@ -1763,8 +1780,6 @@
         "libcerror_error_matches",
         cerror_test_error_matches );
 
-#if defined( HAVE_FMEMOPEN ) && !defined( WINAPI )
-
        CERROR_TEST_RUN(
         "libcerror_error_fprint",
         cerror_test_error_fprint );
@@ -1773,8 +1788,6 @@
         "libcerror_error_backtrace_fprint",
         cerror_test_error_backtrace_fprint );
 
-#endif /* defined( HAVE_FMEMOPEN ) && !defined( WINAPI ) */
-
        CERROR_TEST_RUN(
         "libcerror_error_sprint",
         cerror_test_error_sprint );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/tests/cerror_test_memory.c 
new/libcerror-20260703/tests/cerror_test_memory.c
--- old/libcerror-20260612/tests/cerror_test_memory.c   2026-06-12 
11:37:54.000000000 +0200
+++ new/libcerror-20260703/tests/cerror_test_memory.c   2026-07-03 
19:03:24.000000000 +0200
@@ -39,7 +39,7 @@
 int cerror_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 cerror_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 cerror_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 cerror_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/libcerror-20260612/tests/test_macros.at 
new/libcerror-20260703/tests/test_macros.at
--- old/libcerror-20260612/tests/test_macros.at 2026-06-12 11:37:54.000000000 
+0200
+++ new/libcerror-20260703/tests/test_macros.at 2026-07-03 19:03:24.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])
+    ])
+  ])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcerror-20260612/tests/test_manpages.at 
new/libcerror-20260703/tests/test_manpages.at
--- old/libcerror-20260612/tests/test_manpages.at       2026-06-12 
11:37:54.000000000 +0200
+++ new/libcerror-20260703/tests/test_manpages.at       2026-07-03 
19:03:24.000000000 +0200
@@ -21,7 +21,10 @@
         [! command -v "${MANDOC}" >/dev/null 2>&1])
 
       AT_CHECK(
-        [LC_ALL="en_US.UTF-8" "${MANDOC}" -O width=80 -T lint -W all 
"$abs_srcdir/../manuals/$1"])
+        [cp "$abs_srcdir/../manuals/$1" "$1"
+        # Strip references given mandoc will check if they exist
+        sed -i'~' '/^.Xr / d' "$1"
+        LC_ALL="en_US.UTF-8" "${MANDOC}" -O width=80 -T lint -W all "$1"])
       ;;
 
     *)

Reply via email to