Script 'mail_helper' called by obssrc
Hello community,

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

Package is "libcnotify"

Tue Jul  7 21:02:58 2026 rev:21 rq:1364098 version:20260703

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcnotify/libcnotify.changes    2026-06-12 
19:30:59.334844315 +0200
+++ /work/SRC/openSUSE:Factory/.libcnotify.new.1982/libcnotify.changes  
2026-07-07 21:05:15.094516528 +0200
@@ -1,0 +2,6 @@
+Mon Jul  6 09:07:59 UTC 2026 - Jan Engelhardt <[email protected]>
+
+- Update to release 20260703
+  * The testsuite was updated
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ libcnotify.spec ++++++
--- /var/tmp/diff_new_pack.BUw7Wf/_old  2026-07-07 21:05:16.698571571 +0200
+++ /var/tmp/diff_new_pack.BUw7Wf/_new  2026-07-07 21:05:16.702571708 +0200
@@ -18,7 +18,7 @@
 
 Name:           libcnotify
 %define lname  libcnotify1
-Version:        20260612
+Version:        20260703
 Release:        0
 Summary:        Library for C notify functions
 License:        LGPL-3.0-or-later
@@ -29,7 +29,7 @@
 Source9:        %name.keyring
 BuildRequires:  c_compiler
 BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(libcerror) >= 20260612
+BuildRequires:  pkgconfig(libcerror) >= 20260703
 # Various notes: https://en.opensuse.org/libyal
 
 %description

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.BUw7Wf/_old  2026-07-07 21:05:16.774574179 +0200
+++ /var/tmp/diff_new_pack.BUw7Wf/_new  2026-07-07 21:05:16.794574866 +0200
@@ -1,5 +1,5 @@
-mtime: 1781272281
-commit: 83c97568c1d0fb5afc562459d6147adf7bb0bc75a1abb9724b8bae7b3eac846d
+mtime: 1783328891
+commit: beb613401e62b964a9cc9f81950a7fa20deb44c6ae05431ca67263891e15bf7e
 url: https://src.opensuse.org/security-forensics/libcnotify
 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 11:08:11.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ libcnotify-beta-20260612.tar.gz -> libcnotify-beta-20260703.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/Makefile.in 
new/libcnotify-20260703/Makefile.in
--- old/libcnotify-20260612/Makefile.in 2026-06-12 14:39:23.000000000 +0200
+++ new/libcnotify-20260703/Makefile.in 2026-07-03 21:15:13.000000000 +0200
@@ -330,6 +330,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/libcnotify-20260612/common/Makefile.in 
new/libcnotify-20260703/common/Makefile.in
--- old/libcnotify-20260612/common/Makefile.in  2026-06-12 14:39:23.000000000 
+0200
+++ new/libcnotify-20260703/common/Makefile.in  2026-07-03 21:15:13.000000000 
+0200
@@ -229,6 +229,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/libcnotify-20260612/common/config.h 
new/libcnotify-20260703/common/config.h
--- old/libcnotify-20260612/common/config.h     2026-06-12 14:14:30.000000000 
+0200
+++ new/libcnotify-20260703/common/config.h     2026-07-03 19:24:29.000000000 
+0200
@@ -296,7 +296,7 @@
 #define PACKAGE_NAME "libcnotify"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libcnotify 20260612"
+#define PACKAGE_STRING "libcnotify 20260703"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libcnotify"
@@ -305,7 +305,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
@@ -331,7 +331,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/libcnotify-20260612/configure 
new/libcnotify-20260703/configure
--- old/libcnotify-20260612/configure   2026-06-12 14:39:23.000000000 +0200
+++ new/libcnotify-20260703/configure   2026-07-03 21:15:12.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for libcnotify 20260612.
+# Generated by GNU Autoconf 2.72 for libcnotify 20260703.
 #
 # Report bugs to <https://github.com/libyal/libcnotify/issues>.
 #
@@ -614,8 +614,8 @@
 # Identity of this package.
 PACKAGE_NAME='libcnotify'
 PACKAGE_TARNAME='libcnotify'
-PACKAGE_VERSION='20260612'
-PACKAGE_STRING='libcnotify 20260612'
+PACKAGE_VERSION='20260703'
+PACKAGE_STRING='libcnotify 20260703'
 PACKAGE_BUGREPORT='https://github.com/libyal/libcnotify/issues'
 PACKAGE_URL=''
 
@@ -661,9 +661,11 @@
 SPEC_DATE
 DPKG_DATE
 libcnotify_spec_requires
+TESTS_USE_WINAPI
 TESTS_USE_MINGW
 TESTS_MANPAGE_LINTER
 ZCAT
+MD5SUM
 GZIP_COMMAND
 MANDOC
 MAN
@@ -835,7 +837,6 @@
 PACKAGE_NAME
 PATH_SEPARATOR
 SHELL
-TESTS_USE_WINAPI
 am__quote'
 ac_subst_files=''
 ac_user_opts='
@@ -1428,7 +1429,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 libcnotify 20260612 to adapt to many kinds of systems.
+'configure' configures libcnotify 20260703 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1499,7 +1500,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libcnotify 20260612:";;
+     short | recursive ) echo "Configuration of libcnotify 20260703:";;
    esac
   cat <<\_ACEOF
 
@@ -1637,7 +1638,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libcnotify configure 20260612
+libcnotify configure 20260703
 generated by GNU Autoconf 2.72
 
 Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2252,7 +2253,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libcnotify $as_me 20260612, which was
+It was created by libcnotify $as_me 20260703, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3733,7 +3734,7 @@
 
 # Define the identity of the package.
  PACKAGE='libcnotify'
- VERSION='20260612'
+ VERSION='20260703'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -21858,10 +21859,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
@@ -21870,16 +21872,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
@@ -22011,6 +22013,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
@@ -22079,6 +22132,8 @@
 
   TESTS_USE_MINGW=$ac_cv_tests_use_mingw
 
+  TESTS_USE_WINAPI=$ac_cv_enable_winapi
+
 
 
 CFLAGS="$CFLAGS -Wall";
@@ -22693,7 +22748,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libcnotify $as_me 20260612, which was
+This file was extended by libcnotify $as_me 20260703, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -22761,7 +22816,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libcnotify config.status 20260612
+libcnotify 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/libcnotify-20260612/configure.ac 
new/libcnotify-20260703/configure.ac
--- old/libcnotify-20260612/configure.ac        2026-06-12 12:31:25.000000000 
+0200
+++ new/libcnotify-20260703/configure.ac        2026-07-03 19:22:13.000000000 
+0200
@@ -2,7 +2,7 @@
 
 AC_INIT(
   [libcnotify],
-  [20260612],
+  [20260703],
   [https://github.com/libyal/libcnotify/issues])
 
 AC_CONFIG_SRCDIR(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/dpkg/changelog 
new/libcnotify-20260703/dpkg/changelog
--- old/libcnotify-20260612/dpkg/changelog      2026-06-12 14:39:27.000000000 
+0200
+++ new/libcnotify-20260703/dpkg/changelog      2026-07-03 21:15:16.000000000 
+0200
@@ -1,5 +1,5 @@
-libcnotify (20260612-1) unstable; urgency=low
+libcnotify (20260703-1) unstable; urgency=low
 
   * Auto-generated
 
- -- Joachim Metz <[email protected]>  Fri, 12 Jun 2026 14:39:26 +0200
+ -- Joachim Metz <[email protected]>  Fri, 03 Jul 2026 21:15:16 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/dpkg/compat 
new/libcnotify-20260703/dpkg/compat
--- old/libcnotify-20260612/dpkg/compat 2026-06-12 12:31:25.000000000 +0200
+++ new/libcnotify-20260703/dpkg/compat 2026-07-03 19:22:13.000000000 +0200
@@ -1 +1 @@
-10
+13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/dpkg/control 
new/libcnotify-20260703/dpkg/control
--- old/libcnotify-20260612/dpkg/control        2026-06-12 12:31:25.000000000 
+0200
+++ new/libcnotify-20260703/dpkg/control        2026-07-03 19:22:13.000000000 
+0200
@@ -1,7 +1,7 @@
 Source: libcnotify
 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/libcnotify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/dpkg/rules 
new/libcnotify-20260703/dpkg/rules
--- old/libcnotify-20260612/dpkg/rules  2026-06-12 12:31:25.000000000 +0200
+++ new/libcnotify-20260703/dpkg/rules  2026-07-03 19:22:13.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/libcnotify-20260612/include/Makefile.in 
new/libcnotify-20260703/include/Makefile.in
--- old/libcnotify-20260612/include/Makefile.in 2026-06-12 14:39:23.000000000 
+0200
+++ new/libcnotify-20260703/include/Makefile.in 2026-07-03 21:15:13.000000000 
+0200
@@ -258,6 +258,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/libcnotify-20260612/include/libcnotify/definitions.h 
new/libcnotify-20260703/include/libcnotify/definitions.h
--- old/libcnotify-20260612/include/libcnotify/definitions.h    2026-06-12 
14:39:27.000000000 +0200
+++ new/libcnotify-20260703/include/libcnotify/definitions.h    2026-07-03 
21:15:16.000000000 +0200
@@ -24,11 +24,11 @@
 
 #include <libcnotify/types.h>
 
-#define LIBCNOTIFY_VERSION                     20260612
+#define LIBCNOTIFY_VERSION                     20260703
 
 /* The libcnotify version string
  */
-#define LIBCNOTIFY_VERSION_STRING              "20260612"
+#define LIBCNOTIFY_VERSION_STRING              "20260703"
 
 /* The print data flags
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/include/libcnotify/error.h 
new/libcnotify-20260703/include/libcnotify/error.h
--- old/libcnotify-20260612/include/libcnotify/error.h  2026-06-12 
12:31:25.000000000 +0200
+++ new/libcnotify-20260703/include/libcnotify/error.h  2026-07-03 
19:22:14.000000000 +0200
@@ -82,7 +82,7 @@
         */
        LIBCNOTIFY_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
         */
        LIBCNOTIFY_ARGUMENT_ERROR_CONFLICTING_VALUE     = 9
 };
@@ -214,7 +214,7 @@
 {
        LIBCNOTIFY_OUTPUT_ERROR_GENERIC                 = 0,
 
-       /* There is insuficient space to write the output
+       /* There is insufficient space to write the output
         */
        LIBCNOTIFY_OUTPUT_ERROR_INSUFFICIENT_SPACE      = 1
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/libcerror/Makefile.in 
new/libcnotify-20260703/libcerror/Makefile.in
--- old/libcnotify-20260612/libcerror/Makefile.in       2026-06-12 
14:39:23.000000000 +0200
+++ new/libcnotify-20260703/libcerror/Makefile.in       2026-07-03 
21:15:13.000000000 +0200
@@ -269,6 +269,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/libcnotify-20260612/libcerror/libcerror_definitions.h 
new/libcnotify-20260703/libcerror/libcerror_definitions.h
--- old/libcnotify-20260612/libcerror/libcerror_definitions.h   2026-06-12 
14:39:20.000000000 +0200
+++ new/libcnotify-20260703/libcerror/libcerror_definitions.h   2026-07-03 
21:15:09.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/libcnotify-20260612/libcerror/libcerror_error.c 
new/libcnotify-20260703/libcerror/libcerror_error.c
--- old/libcnotify-20260612/libcerror/libcerror_error.c 2026-06-12 
14:39:20.000000000 +0200
+++ new/libcnotify-20260703/libcerror/libcerror_error.c 2026-07-03 
21:15:09.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/libcnotify-20260612/libcnotify/Makefile.in 
new/libcnotify-20260703/libcnotify/Makefile.in
--- old/libcnotify-20260612/libcnotify/Makefile.in      2026-06-12 
14:39:23.000000000 +0200
+++ new/libcnotify-20260703/libcnotify/Makefile.in      2026-07-03 
21:15:13.000000000 +0200
@@ -296,6 +296,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/libcnotify-20260612/libcnotify/libcnotify.rc 
new/libcnotify-20260703/libcnotify/libcnotify.rc
--- old/libcnotify-20260612/libcnotify/libcnotify.rc    2026-06-12 
14:39:27.000000000 +0200
+++ new/libcnotify-20260703/libcnotify/libcnotify.rc    2026-07-03 
21:15:16.000000000 +0200
@@ -22,12 +22,12 @@
     BLOCK "040904E4"
     BEGIN
       VALUE "FileDescription",         "Library to support cross-platform C 
notification functions\0"
-      VALUE "FileVersion",             "20260612" "\0"
+      VALUE "FileVersion",             "20260703" "\0"
       VALUE "InternalName",            "libcnotify.dll\0"
       VALUE "LegalCopyright",          "(C) 2008-2026, Joachim Metz 
<[email protected]>\0"
       VALUE "OriginalFilename",                "libcnotify.dll\0"
       VALUE "ProductName",             "libcnotify\0"
-      VALUE "ProductVersion",          "20260612" "\0"
+      VALUE "ProductVersion",          "20260703" "\0"
       VALUE "Comments",                        "For more information visit 
https://github.com/libyal/libcnotify/\0";
     END
   END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libcnotify-20260612/libcnotify/libcnotify_definitions.h 
new/libcnotify-20260703/libcnotify/libcnotify_definitions.h
--- old/libcnotify-20260612/libcnotify/libcnotify_definitions.h 2026-06-12 
14:39:27.000000000 +0200
+++ new/libcnotify-20260703/libcnotify/libcnotify_definitions.h 2026-07-03 
21:15:16.000000000 +0200
@@ -35,11 +35,11 @@
  */
 #else
 
-#define LIBCNOTIFY_VERSION                             20260612
+#define LIBCNOTIFY_VERSION                             20260703
 
 /* The libcnotify version string
  */
-#define LIBCNOTIFY_VERSION_STRING                      "20260612"
+#define LIBCNOTIFY_VERSION_STRING                      "20260703"
 
 /* The print data flags
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/libcnotify.spec 
new/libcnotify-20260703/libcnotify.spec
--- old/libcnotify-20260612/libcnotify.spec     2026-06-12 14:39:27.000000000 
+0200
+++ new/libcnotify-20260703/libcnotify.spec     2026-07-03 21:15:16.000000000 
+0200
@@ -1,5 +1,5 @@
 Name: libcnotify
-Version: 20260612
+Version: 20260703
 Release: 1
 Summary: Library to support cross-platform C notification functions
 Group: System Environment/Libraries
@@ -65,6 +65,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/libcnotify-20260612/m4/tests.m4 
new/libcnotify-20260703/m4/tests.m4
--- old/libcnotify-20260612/m4/tests.m4 2026-06-12 13:59:12.000000000 +0200
+++ new/libcnotify-20260703/m4/tests.m4 2026-07-03 20:58:55.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
     ])
   ])
 
@@ -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/libcnotify-20260612/manuals/Makefile.am 
new/libcnotify-20260703/manuals/Makefile.am
--- old/libcnotify-20260612/manuals/Makefile.am 2026-06-12 12:31:25.000000000 
+0200
+++ new/libcnotify-20260703/manuals/Makefile.am 2026-07-03 19:22:14.000000000 
+0200
@@ -2,7 +2,7 @@
        libcnotify.3
 
 EXTRA_DIST = \
-       libcnotify.3
+       $(man_MANS)
 
 DISTCLEANFILES = \
        Makefile \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/manuals/Makefile.in 
new/libcnotify-20260703/manuals/Makefile.in
--- old/libcnotify-20260612/manuals/Makefile.in 2026-06-12 14:39:23.000000000 
+0200
+++ new/libcnotify-20260703/manuals/Makefile.in 2026-07-03 21:15:13.000000000 
+0200
@@ -241,6 +241,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
@@ -345,7 +346,7 @@
        libcnotify.3
 
 EXTRA_DIST = \
-       libcnotify.3
+       $(man_MANS)
 
 DISTCLEANFILES = \
        Makefile \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/msvscpp/Makefile.in 
new/libcnotify-20260703/msvscpp/Makefile.in
--- old/libcnotify-20260612/msvscpp/Makefile.in 2026-06-12 14:39:23.000000000 
+0200
+++ new/libcnotify-20260703/msvscpp/Makefile.in 2026-07-03 21:15:13.000000000 
+0200
@@ -211,6 +211,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/libcnotify-20260612/tests/Makefile.am 
new/libcnotify-20260703/tests/Makefile.am
--- old/libcnotify-20260612/tests/Makefile.am   2026-06-12 12:32:33.000000000 
+0200
+++ new/libcnotify-20260703/tests/Makefile.am   2026-07-03 19:22:45.000000000 
+0200
@@ -86,14 +86,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) \
@@ -106,4 +112,3 @@
        Makefile \
        Makefile.in
 
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/tests/Makefile.in 
new/libcnotify-20260703/tests/Makefile.in
--- old/libcnotify-20260612/tests/Makefile.in   2026-06-12 14:39:23.000000000 
+0200
+++ new/libcnotify-20260703/tests/Makefile.in   2026-07-03 21:15:13.000000000 
+0200
@@ -270,6 +270,7 @@
 MAN = @MAN@
 MANDOC = @MANDOC@
 MANIFEST_TOOL = @MANIFEST_TOOL@
+MD5SUM = @MD5SUM@
 MKDIR_P = @MKDIR_P@
 MSGFMT = @MSGFMT@
 MSGMERGE = @MSGMERGE@
@@ -418,9 +419,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) \
@@ -796,9 +798,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/libcnotify-20260612/tests/atlocal.in 
new/libcnotify-20260703/tests/atlocal.in
--- old/libcnotify-20260612/tests/atlocal.in    2026-06-12 12:31:25.000000000 
+0200
+++ new/libcnotify-20260703/tests/atlocal.in    2026-07-03 19:22:13.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/libcnotify-20260612/tests/cnotify_test_print.c 
new/libcnotify-20260703/tests/cnotify_test_print.c
--- old/libcnotify-20260612/tests/cnotify_test_print.c  2026-06-12 
14:38:05.000000000 +0200
+++ new/libcnotify-20260703/tests/cnotify_test_print.c  2026-07-03 
19:22:14.000000000 +0200
@@ -98,7 +98,7 @@
 /* Compares the contents of the stream with the expected data and rewinds the 
stream
  * Returns 1 if successful or 0 if not
  */
-int cnotify_test_compare_buffer(
+int cnotify_test_compare_stream(
      FILE *stream,
      const char *expected_data,
      size_t expected_data_size )
@@ -225,10 +225,15 @@
         print_count,
         4 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "Test",
-        4 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "Test",
+                 4 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        /* Test error cases
         */
@@ -350,9 +355,14 @@
         print_count,
         1 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "A",
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "A",
+                 1 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
         1 );
 
        print_count = libcnotify_print_data_as_character(
@@ -363,9 +373,14 @@
         print_count,
         1 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        ".",
+       result = cnotify_test_compare_stream(
+                 stream,
+                 ".",
+                 1 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
         1 );
 
        /* Test error cases
@@ -474,10 +489,15 @@
         print_count,
         17 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "........ ........",
-        17 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "........ ........",
+                 17 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        print_count = libcnotify_print_data_as_characters(
                       data,
@@ -489,10 +509,15 @@
         print_count,
         13 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "`bdfhjln prtv",
-        13 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "`bdfhjln prtv",
+                 13 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        print_count = libcnotify_print_data_as_characters(
                       data,
@@ -504,10 +529,15 @@
         print_count,
         8 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "`bdfhjln",
-        8 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "`bdfhjln",
+                 8 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        print_count = libcnotify_print_data_as_characters(
                       data,
@@ -519,10 +549,15 @@
         print_count,
         6 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "`bdfhjl",
-        6 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "`bdfhjl",
+                 6 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        print_count = libcnotify_print_data_as_characters(
                       data,
@@ -670,10 +705,15 @@
         print_count,
         49 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "00 02 04 06 08 0a 0c 0e  10 12 14 16 18 1a 1c 1e ",
-        49 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "00 02 04 06 08 0a 0c 0e  10 12 14 16 18 1a 1c 1e ",
+                 49 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        print_count = libcnotify_print_data_as_hexadecimal(
                       data,
@@ -685,10 +725,15 @@
         print_count,
         49 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "60 62 64 66 68 6a 6c 6e  70 72 74 76             ",
-        49 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "60 62 64 66 68 6a 6c 6e  70 72 74 76             ",
+                 49 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        print_count = libcnotify_print_data_as_hexadecimal(
                       data,
@@ -700,10 +745,15 @@
         print_count,
         49 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "60 62 64 66 68 6a 6c 6e                          ",
-        49 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "60 62 64 66 68 6a 6c 6e                          ",
+                 49 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        print_count = libcnotify_print_data_as_hexadecimal(
                       data,
@@ -715,10 +765,15 @@
         print_count,
         49 );
 
-       cnotify_test_compare_buffer(
-        stream,
-        "60 62 64 66 68 6a                                ",
-        49 );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 "60 62 64 66 68 6a                                ",
+                 49 );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        print_count = libcnotify_print_data_as_hexadecimal(
                       data,
@@ -914,10 +969,15 @@
         print_count,
         expected_buffer_length );
 
-       cnotify_test_compare_buffer(
-        stream,
-        expected_buffer,
-        expected_buffer_length );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 expected_buffer,
+                 expected_buffer_length );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        /* Test error cases
         */
@@ -1210,7 +1270,7 @@
         "error",
         error );
 
-#if defined( WINAPI )
+#if defined( WINAPI ) || defined( __MINGW32__ )
        expected_buffer = \
                "cnotify_test_print_error_backtrace: invalid filename.\r\n";
 
@@ -1229,10 +1289,15 @@
         print_count,
         expected_buffer_length );
 
-       cnotify_test_compare_buffer(
-        stream,
-        expected_buffer,
-        expected_buffer_length );
+       result = cnotify_test_compare_stream(
+                 stream,
+                 expected_buffer,
+                 expected_buffer_length );
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        1 );
 
        /* Test print without stream
         */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/tests/cnotify_test_stream.c 
new/libcnotify-20260703/tests/cnotify_test_stream.c
--- old/libcnotify-20260612/tests/cnotify_test_stream.c 2026-06-12 
12:31:25.000000000 +0200
+++ new/libcnotify-20260703/tests/cnotify_test_stream.c 2026-07-03 
19:22:14.000000000 +0200
@@ -58,10 +58,7 @@
 #if defined( HAVE_CNOTIFY_TEST_FUNCTION_HOOK )
 
 static FILE *(*cnotify_test_real_fopen)(const char *, const char *) = NULL;
-static int (*cnotify_test_real_fclose)(FILE *)                      = NULL;
-
 int cnotify_test_fopen_attempts_before_fail                         = -1;
-int cnotify_test_fclose_attempts_before_fail                        = -1;
 
 /* Custom fopen for testing memory error cases
  * Returns a pointer to newly allocated data or NULL
@@ -95,6 +92,9 @@
        return( stream );
 }
 
+static int (*cnotify_test_real_fclose)(FILE *) = NULL;
+int cnotify_test_fclose_attempts_before_fail   = -1;
+
 /* Custom fclose for testing memory error cases
  * Returns a pointer to newly allocated data or NULL
  */
@@ -138,24 +138,38 @@
        libcerror_error_t *error = NULL;
        int result               = 0;
 
+#if !defined( _MSC_VER ) && !defined( __MINGW32__ )
+       int test_file_descriptor = 0;
+#endif
+
        /* Initialize test
         */
-#if defined( WINAPI ) && !defined( __CYGWIN__ )
+#if defined( _MSC_VER ) || defined( __MINGW32__ )
        result = _mktemp_s(
                  filename,
                  16 );
-#else
-       result = mkstemp(
-                 filename );
-#endif
-       CNOTIFY_TEST_ASSERT_NOT_EQUAL_INT(
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
         "result",
         result,
+        0 );
+#else
+       test_file_descriptor = mkstemp(
+                               filename );
+
+       CNOTIFY_TEST_ASSERT_NOT_EQUAL_INT(
+        "test_file_descriptor",
+        test_file_descriptor,
         -1 );
 
-       close(
-        result );
+       result = close(
+                 test_file_descriptor );
 
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        0 );
+#endif
        /* Test set of stderr
         */
        result = libcnotify_stream_set(
@@ -279,24 +293,38 @@
        libcerror_error_t *error = NULL;
        int result               = 0;
 
+#if !defined( _MSC_VER ) && !defined( __MINGW32__ )
+       int test_file_descriptor = 0;
+#endif
+
        /* Initialize test
         */
-#if defined( WINAPI ) && !defined( __CYGWIN__ )
+#if defined( _MSC_VER ) || defined( __MINGW32__ )
        result = _mktemp_s(
                  filename,
                  16 );
-#else
-       result = mkstemp(
-                 filename );
-#endif
-       CNOTIFY_TEST_ASSERT_NOT_EQUAL_INT(
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
         "result",
         result,
+        0 );
+#else
+       test_file_descriptor = mkstemp(
+                               filename );
+
+       CNOTIFY_TEST_ASSERT_NOT_EQUAL_INT(
+        "test_file_descriptor",
+        test_file_descriptor,
         -1 );
 
-       close(
-        result );
+       result = close(
+                 test_file_descriptor );
 
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        0 );
+#endif
        /* Test open
         */
        result = libcnotify_stream_open(
@@ -443,24 +471,38 @@
        libcerror_error_t *error = NULL;
        int result               = 0;
 
+#if !defined( _MSC_VER ) && !defined( __MINGW32__ )
+       int test_file_descriptor = 0;
+#endif
+
        /* Initialize test
         */
-#if defined( WINAPI ) && !defined( __CYGWIN__ )
+#if defined( _MSC_VER ) || defined( __MINGW32__ )
        result = _mktemp_s(
                  filename,
                  16 );
-#else
-       result = mkstemp(
-                 filename );
-#endif
-       CNOTIFY_TEST_ASSERT_NOT_EQUAL_INT(
+
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
         "result",
         result,
+        0 );
+#else
+       test_file_descriptor = mkstemp(
+                               filename );
+
+       CNOTIFY_TEST_ASSERT_NOT_EQUAL_INT(
+        "test_file_descriptor",
+        test_file_descriptor,
         -1 );
 
-       close(
-        result );
+       result = close(
+                 test_file_descriptor );
 
+       CNOTIFY_TEST_ASSERT_EQUAL_INT(
+        "result",
+        result,
+        0 );
+#endif
        /* Test close after open
         */
        result = libcnotify_stream_close(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcnotify-20260612/tests/test_macros.at 
new/libcnotify-20260703/tests/test_macros.at
--- old/libcnotify-20260612/tests/test_macros.at        2026-06-12 
12:31:25.000000000 +0200
+++ new/libcnotify-20260703/tests/test_macros.at        2026-07-03 
19:22:14.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/libcnotify-20260612/tests/test_manpages.at 
new/libcnotify-20260703/tests/test_manpages.at
--- old/libcnotify-20260612/tests/test_manpages.at      2026-06-12 
12:31:25.000000000 +0200
+++ new/libcnotify-20260703/tests/test_manpages.at      2026-07-03 
19:22:14.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