Hello community,

here is the log from the commit of package commoncpp2 for openSUSE:Factory
checked in at Wed Apr 6 09:35:21 CEST 2011.



--------
--- commoncpp2/commoncpp2.changes       2010-04-24 12:42:33.000000000 +0200
+++ /mounts/work_src_done/STABLE/commoncpp2/commoncpp2.changes  2011-04-05 
17:50:08.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Apr  5 15:49:26 UTC 2011 - [email protected]
+
+-Fix memset-with-zero-length in thread.cpp 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  commoncpp2-1.6.1-memset-with-zero-length.patch

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

Other differences:
------------------
++++++ commoncpp2.spec ++++++
--- /var/tmp/diff_new_pack.ugXDMT/_old  2011-04-06 09:34:18.000000000 +0200
+++ /var/tmp/diff_new_pack.ugXDMT/_new  2011-04-06 09:34:18.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package commoncpp2 (Version 1.6.1)
+# spec file for package commoncpp2
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,13 +27,14 @@
 AutoReqProv:    on
 Summary:        A GNU package for creating portable C++ program
 Version:        1.6.1
-Release:        61
+Release:        72
 Url:            http://www.gnu.org/software/commoncpp/
 Source:         %{name}-%{version}.tar.bz2
 Patch:          commoncpp-socketmemcpy.dif
 Patch1:         commoncpp-libtool.diff
 Patch2:         commoncpp-charptr.diff
 Patch3:         commoncpp-stdlib.diff
+Patch4:         commoncpp2-1.6.1-memset-with-zero-length.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -100,6 +101,7 @@
 %patch1
 %patch2
 %patch -P 3 -p1
+%patch4
 
 %build
 autoreconf --install --force -v

++++++ commoncpp2-1.6.1-memset-with-zero-length.patch ++++++
--- src/thread.cpp.orig
+++ src/thread.cpp
@@ -492,7 +492,7 @@ _cancel(cancelDefault), _start(NULL), pr
                PosixThread::sigInstall(SIGPIPE);
                PosixThread::sigInstall(SIGABRT);
 
-               memset(&act, sizeof(act), 0);
+               memset(&act, 0, sizeof(act));
                act.sa_handler = (signalexec_t)&ccxx_sig_handler;
                sigemptyset(&act.sa_mask);
 # ifdef        SA_RESTART

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to