Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libHX for openSUSE:Factory checked 
in at 2023-06-27 23:15:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libHX (Old)
 and      /work/SRC/openSUSE:Factory/.libHX.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libHX"

Tue Jun 27 23:15:56 2023 rev:72 rq:1095517 version:4.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/libHX/libHX.changes      2023-03-01 
16:13:39.342476818 +0100
+++ /work/SRC/openSUSE:Factory/.libHX.new.15902/libHX.changes   2023-06-27 
23:16:07.487200276 +0200
@@ -1,0 +2,8 @@
+Wed Jun 21 08:17:08 UTC 2023 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 4.13
+  * io: do not fail HX_mkdir when a component is a symlink to a
+    directory
+  * xml_helper: fix infinite recursion in xml_getnsprop
+
+-------------------------------------------------------------------

Old:
----
  baselibs.conf
  libHX-4.12.tar.asc
  libHX-4.12.tar.xz

New:
----
  libHX-4.13.tar.asc
  libHX-4.13.tar.xz

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

Other differences:
------------------
++++++ libHX.spec ++++++
--- /var/tmp/diff_new_pack.FVe26m/_old  2023-06-27 23:16:08.143204136 +0200
+++ /var/tmp/diff_new_pack.FVe26m/_new  2023-06-27 23:16:08.147204161 +0200
@@ -18,7 +18,7 @@
 
 Name:           libHX
 %define lname   libHX32
-Version:        4.12
+Version:        4.13
 Release:        0
 Summary:        Collection of routines for C and C++ programming
 License:        LGPL-2.1-or-later
@@ -27,7 +27,6 @@
 
 Source:         https://inai.de/files/libhx/libHX-%version.tar.xz
 Source2:        https://inai.de/files/libhx/libHX-%version.tar.asc
-Source3:        baselibs.conf
 Source4:        %name.keyring
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config

++++++ libHX-4.12.tar.xz -> libHX-4.13.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/configure new/libHX-4.13/configure
--- old/libHX-4.12/configure    2023-02-27 14:55:44.471237664 +0100
+++ new/libHX-4.13/configure    2023-06-21 10:12:17.612431609 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libHX 4.12.
+# Generated by GNU Autoconf 2.71 for libHX 4.13.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -618,8 +618,8 @@
 # Identity of this package.
 PACKAGE_NAME='libHX'
 PACKAGE_TARNAME='libhx'
-PACKAGE_VERSION='4.12'
-PACKAGE_STRING='libHX 4.12'
+PACKAGE_VERSION='4.13'
+PACKAGE_STRING='libHX 4.13'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1375,7 +1375,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 libHX 4.12 to adapt to many kinds of systems.
+\`configure' configures libHX 4.13 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1446,7 +1446,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libHX 4.12:";;
+     short | recursive ) echo "Configuration of libHX 4.13:";;
    esac
   cat <<\_ACEOF
 
@@ -1561,7 +1561,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libHX configure 4.12
+libHX configure 4.13
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2195,7 +2195,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libHX $as_me 4.12, which was
+It was created by libHX $as_me 4.13, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3684,7 +3684,7 @@
 
 # Define the identity of the package.
  PACKAGE='libhx'
- VERSION='4.12'
+ VERSION='4.13'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -18771,7 +18771,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libHX $as_me 4.12, which was
+This file was extended by libHX $as_me 4.13, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18839,7 +18839,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libHX config.status 4.12
+libHX config.status 4.13
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/configure.ac new/libHX-4.13/configure.ac
--- old/libHX-4.12/configure.ac 2023-02-27 14:55:08.000000000 +0100
+++ new/libHX-4.13/configure.ac 2023-06-21 10:11:57.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([libHX], [4.12])
+AC_INIT([libHX], [4.13])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/doc/changelog.rst 
new/libHX-4.13/doc/changelog.rst
--- old/libHX-4.12/doc/changelog.rst    2023-02-27 14:55:08.000000000 +0100
+++ new/libHX-4.13/doc/changelog.rst    2023-06-21 10:11:57.000000000 +0200
@@ -1,3 +1,12 @@
+v4.13 (2023-06-21)
+==================
+
+Fixes:
+
+* io: do not fail HX_mkdir when a component is a symlink to a directory
+* xml_helper: fix infinite recursion in xml_getnsprop
+
+
 v4.12 (2023-02-27)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/include/libHX/libxml_helper.h 
new/libHX-4.13/include/libHX/libxml_helper.h
--- old/libHX-4.12/include/libHX/libxml_helper.h        2023-02-27 
14:55:08.000000000 +0100
+++ new/libHX-4.13/include/libHX/libxml_helper.h        2023-06-21 
10:11:57.000000000 +0200
@@ -118,7 +118,7 @@
 static __inline__ char *xml_getnsprop(const xmlNode *node, const char 
*nsprefix,
     const char *attr)
 {
-       return xml_getnsprop(const_cast<const xmlNode *>(node), nsprefix, attr);
+       return xml_getnsprop(const_cast<xmlNode *>(node), nsprefix, attr);
 }
 #endif
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/src/format.c new/libHX-4.13/src/format.c
--- old/libHX-4.12/src/format.c 2023-02-27 14:55:08.000000000 +0100
+++ new/libHX-4.13/src/format.c 2023-06-21 10:11:57.000000000 +0200
@@ -7,6 +7,7 @@
  *     General Public License as published by the Free Software Foundation;
  *     either version 2.1 or (at your option) any later version.
  */
+#include <assert.h>
 #include <errno.h>
 #include <stdbool.h>
 #include <stddef.h>
@@ -681,6 +682,7 @@
  out:
        ret = -errno;
        HXmc_free(out);
+       *resultp = nullptr;
        return ret;
 }
 
@@ -716,7 +718,7 @@
 EXPORT_SYMBOL ssize_t HXformat3_sprintf(const struct HXformat_map *ftable,
     char *dest, size_t size, const char *fmt)
 {
-       hxmc_t *str;
+       hxmc_t *str = nullptr;
        ssize_t ret;
 
        if ((ret = HXformat_aprintf(ftable, &str, fmt)) < 0)
@@ -725,6 +727,7 @@
                *dest = '\0';
                return 0;
        }
+       assert(str != nullptr);
        strncpy(dest, str, size);
        size_t xl = strlen(dest);
        HXmc_free(str);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/src/io.c new/libHX-4.13/src/io.c
--- old/libHX-4.12/src/io.c     2023-02-27 14:55:08.000000000 +0100
+++ new/libHX-4.13/src/io.c     2023-06-21 10:11:57.000000000 +0200
@@ -66,7 +66,7 @@
                return 1;
        if (errno != EEXIST)
                return -errno;
-       if (lstat(d, &sb) == 0) {
+       if (stat(d, &sb) == 0) {
 #if defined(_WIN32)
                if (sb.st_mode & S_IFDIR)
 #else
@@ -424,6 +424,7 @@
                return -ELOOP;
 #endif
 
+       assert(state->link_target != nullptr);
        if (*state->link_target == '/') {
                *state->dest = '\0';
                if (HXmc_setlen(&state->dest, 0) == NULL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/src/proc.c new/libHX-4.13/src/proc.c
--- old/libHX-4.12/src/proc.c   2023-02-27 14:55:08.000000000 +0100
+++ new/libHX-4.13/src/proc.c   2023-06-21 10:11:57.000000000 +0200
@@ -69,7 +69,7 @@
        return HXproc_switch_gid(pw, gr->gr_gid);
 }
 
-EXPORT_SYMBOL int HXproc_switch_user(const char *user, const char *group)
+EXPORT_SYMBOL enum HXproc_su_status HXproc_switch_user(const char *user, const 
char *group)
 {
        const struct passwd *pw = NULL;
        if (user != NULL && *user != '\0') {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/src/socket.c new/libHX-4.13/src/socket.c
--- old/libHX-4.12/src/socket.c 2023-02-27 14:55:08.000000000 +0100
+++ new/libHX-4.13/src/socket.c 2023-06-21 10:11:57.000000000 +0200
@@ -146,6 +146,8 @@
        struct addrinfo *aires = nullptr;
        int ret = HX_inet_lookup(host, port, AI_ADDRCONFIG, &aires);
        int saved_errno = 0;
+       if (ret != 0)
+               ;
        for (const struct addrinfo *r = aires; r != nullptr; r = r->ai_next) {
                int fd = socket(r->ai_family, r->ai_socktype, r->ai_protocol);
                if (fd < 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-4.12/src/tc-string.c 
new/libHX-4.13/src/tc-string.c
--- old/libHX-4.12/src/tc-string.c      2023-02-27 14:55:08.000000000 +0100
+++ new/libHX-4.13/src/tc-string.c      2023-06-21 10:11:57.000000000 +0200
@@ -84,12 +84,16 @@
 {
        char data[5] = "DATA";
 
+#ifndef __clang__
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wformat-truncation"
+#endif
        if (snprintf(data, sizeof(data), "12345678") >=
            static_cast(ssize_t, sizeof(data)))
                printf("Not enough space\n");
+#ifndef __clang__
 #pragma GCC diagnostic pop
+#endif
        printf("String: >%s<\n", data);
 
        HX_strlcat(data, "pqrstuv__", 2);

Reply via email to