Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package reproc for openSUSE:Factory checked 
in at 2026-04-28 11:56:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/reproc (Old)
 and      /work/SRC/openSUSE:Factory/.reproc.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "reproc"

Tue Apr 28 11:56:32 2026 rev:5 rq:1349441 version:14.2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/reproc/reproc.changes    2024-09-10 
21:16:01.229004504 +0200
+++ /work/SRC/openSUSE:Factory/.reproc.new.11940/reproc.changes 2026-04-28 
12:00:25.791638946 +0200
@@ -1,0 +2,9 @@
+Sun Apr 26 21:12:48 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 14.2.7:
+  * Fix build on posix platforms
+- update to 14.2.6:
+  * Fix non-blocking option for C++ API.
+  * Fix build on systems that really like gnu strerror_r
+
+-------------------------------------------------------------------

Old:
----
  reproc-14.2.5.tar.gz

New:
----
  reproc-14.2.7.tar.gz

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

Other differences:
------------------
++++++ reproc.spec ++++++
--- /var/tmp/diff_new_pack.XHvTqa/_old  2026-04-28 12:00:26.443665948 +0200
+++ /var/tmp/diff_new_pack.XHvTqa/_new  2026-04-28 12:00:26.443665948 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package reproc
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define lib_name libreproc14
 %define libpp_name libreproc++14
 Name:           reproc
-Version:        14.2.5
+Version:        14.2.7
 Release:        0
 Summary:        A cross-platform (C99/C++11) process library
 License:        MIT

++++++ reproc-14.2.5.tar.gz -> reproc-14.2.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/reproc-14.2.5/reproc/src/error.posix.c 
new/reproc-14.2.7/reproc/src/error.posix.c
--- old/reproc-14.2.5/reproc/src/error.posix.c  2024-03-26 15:27:30.000000000 
+0100
+++ new/reproc-14.2.7/reproc/src/error.posix.c  2026-04-15 12:47:51.000000000 
+0200
@@ -23,13 +23,22 @@
 {
   static THREAD_LOCAL char string[ERROR_STRING_MAX_SIZE];
 
-  if(error == INT_MIN)
-    return "Failed to retrieve error string";
+  #if defined(__GNUC__) || defined(__clang__)
+    __auto_type r = strerror_r(abs(error), string, ARRAY_SIZE(string));
 
-  int r = strerror_r(abs(error), string, ARRAY_SIZE(string));
-  if (r != 0) {
-    return "Failed to retrieve error string";
-  }
+    const char *result =
+        _Generic((r),
+                 char *: r,
+                 default: ((r == 0) ? string : "Failed to retrieve error 
string")
+        );
 
-  return string;
+    return result;
+#else
+    // Pure POSIX fallback (unknown compilers)
+    int r = strerror_r(abs(error), string, ARRAY_SIZE(string));
+    if (r != 0) {
+        return "Failed to retrieve error string";
+    }
+    return string;
+#endif
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/reproc-14.2.5/reproc++/src/reproc.cpp 
new/reproc-14.2.7/reproc++/src/reproc.cpp
--- old/reproc-14.2.5/reproc++/src/reproc.cpp   2024-03-26 15:27:30.000000000 
+0100
+++ new/reproc-14.2.7/reproc++/src/reproc.cpp   2026-04-15 12:47:51.000000000 
+0200
@@ -57,8 +57,8 @@
     reproc_stop_actions_from(options.stop),
     options.deadline.count(),
     { options.input.data(), options.input.size() },
-    options.nonblocking,
-    fork
+    fork,
+    options.nonblocking
   };
 }
 

Reply via email to