Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsearpc for openSUSE:Factory 
checked in at 2023-04-12 12:52:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsearpc (Old)
 and      /work/SRC/openSUSE:Factory/.libsearpc.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsearpc"

Wed Apr 12 12:52:31 2023 rev:8 rq:1078617 version:3.3.0.20230224

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsearpc/libsearpc.changes      2022-11-09 
12:57:04.996228795 +0100
+++ /work/SRC/openSUSE:Factory/.libsearpc.new.19717/libsearpc.changes   
2023-04-12 12:52:34.061271169 +0200
@@ -1,0 +2,15 @@
+Wed Apr 12 09:47:50 UTC 2023 - i...@paolostivanin.com
+
+- Update to version 3.3.0.20230224:
+  * Waiting with WaitNamedPipe() if a named pipe is busy (#62)
+  * Filter rpc slow log include password (#61)
+  * Add support c++ compile (#60)
+  * Change slow log format (#58)
+  * Configure x64-debug build (#56)
+  * add --with-python3 option (#55)
+  * only use python3 in linux (#54)
+  * remove python3 future
+  * configure with python3 (#53)
+  * Fixed python-searpc installation place (#52)
+
+-------------------------------------------------------------------

Old:
----
  libsearpc-3.3.0.20220902.tar.gz

New:
----
  libsearpc-3.3.0.20230224.tar.gz

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

Other differences:
------------------
++++++ libsearpc.spec ++++++
--- /var/tmp/diff_new_pack.qdjBSf/_old  2023-04-12 12:52:34.593274278 +0200
+++ /var/tmp/diff_new_pack.qdjBSf/_new  2023-04-12 12:52:34.597274302 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libsearpc
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define sover   1
 Name:           libsearpc
-Version:        3.3.0.20220902
+Version:        3.3.0.20230224
 Release:        0
 Summary:        Simple C language RPC framework based on GObject system
 License:        Apache-2.0
@@ -81,7 +81,7 @@
 
 %build
 ./autogen.sh
-%configure --disable-static
+%configure --disable-static --with-python3
 %make_build
 sed -i -e 's#^prefix.*#prefix=/usr#g' libsearpc.pc
 sed -i -e 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/python3/' 
lib/searpc-codegen.py

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.qdjBSf/_old  2023-04-12 12:52:34.637274535 +0200
+++ /var/tmp/diff_new_pack.qdjBSf/_new  2023-04-12 12:52:34.637274535 +0200
@@ -1,7 +1,6 @@
 <servicedata>
-  <service name="tar_scm">
-    <param name="url">https://github.com/haiwen/libsearpc.git</param>
-    <param 
name="changesrevision">15f6f0b9f451b9ecf99dedab72e9242e54e124eb</param>
-  </service>
-</servicedata>
+<service name="tar_scm">
+                <param 
name="url">https://github.com/haiwen/libsearpc.git</param>
+              <param 
name="changesrevision">97e15aa5a9a72f58a90d56183bebb0e73e971084</param></service></servicedata>
+(No newline at EOF)
 

++++++ libsearpc-3.3.0.20220902.tar.gz -> libsearpc-3.3.0.20230224.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libsearpc-3.3.0.20220902/lib/searpc-named-pipe-transport.c 
new/libsearpc-3.3.0.20230224/lib/searpc-named-pipe-transport.c
--- old/libsearpc-3.3.0.20220902/lib/searpc-named-pipe-transport.c      
2022-09-02 12:01:40.000000000 +0200
+++ new/libsearpc-3.3.0.20230224/lib/searpc-named-pipe-transport.c      
2023-02-24 05:03:43.000000000 +0100
@@ -338,19 +338,27 @@
 
 #else // !defined(WIN32)
     SearpcNamedPipe pipe_fd;
-    pipe_fd = CreateFile(
-        client->path,           // pipe name
-        GENERIC_READ |          // read and write access
-        GENERIC_WRITE,
-        0,                      // no sharing
-        NULL,                   // default security attributes
-        OPEN_EXISTING,          // opens existing pipe
-        0,                      // default attributes
-        NULL);                  // no template file
 
-    if (pipe_fd == INVALID_HANDLE_VALUE) {
-        G_WARNING_WITH_LAST_ERROR("Failed to connect to named pipe");
-        return -1;
+    for (;;) {
+        pipe_fd = CreateFile(
+            client->path,           // pipe name
+            GENERIC_READ |          // read and write access
+            GENERIC_WRITE,
+            0,                      // no sharing
+            NULL,                   // default security attributes
+            OPEN_EXISTING,          // opens existing pipe
+            0,                      // default attributes
+            NULL);                  // no template file
+
+        if (pipe_fd != INVALID_HANDLE_VALUE) {
+            break;
+        }
+
+        /* wait with default timeout (approx. 50ms) */
+        if (GetLastError() != ERROR_PIPE_BUSY || !WaitNamedPipe(client->path, 
NMPWAIT_USE_DEFAULT_WAIT)) {
+            G_WARNING_WITH_LAST_ERROR("Failed to connect to named pipe");
+            return -1;
+        }
     }
 
     DWORD mode = PIPE_READMODE_MESSAGE;

Reply via email to