Hello community,

here is the log from the commit of package sblim-cmpi-ssh_service_profile for 
openSUSE:Factory checked in at 2012-03-20 11:35:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sblim-cmpi-ssh_service_profile (Old)
 and      /work/SRC/openSUSE:Factory/.sblim-cmpi-ssh_service_profile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sblim-cmpi-ssh_service_profile", Maintainer is "[email protected]"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/sblim-cmpi-ssh_service_profile/sblim-cmpi-ssh_service_profile.changes
    2011-11-28 18:28:04.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.sblim-cmpi-ssh_service_profile.new/sblim-cmpi-ssh_service_profile.changes
       2012-03-20 11:35:36.000000000 +0100
@@ -1,0 +2,11 @@
+Mon Mar  5 08:28:36 UTC 2012 - [email protected]
+
+- license update: EPL-1.0
+
+
+-------------------------------------------------------------------
+Tue Jan 24 08:45:54 UTC 2012 - [email protected]
+
+- add missing pclose (bnc#530329)
+
+-------------------------------------------------------------------

New:
----
  bnc530329-pclose.patch

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

Other differences:
------------------
++++++ sblim-cmpi-ssh_service_profile.spec ++++++
--- /var/tmp/diff_new_pack.20JNRO/_old  2012-03-20 11:35:38.000000000 +0100
+++ /var/tmp/diff_new_pack.20JNRO/_new  2012-03-20 11:35:38.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sblim-cmpi-ssh_service_profile
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -25,7 +25,7 @@
 Release:        0
 Group:          System/Management
 Summary:        Instrumentation for DMTF SSH Service Profile.
-License:        Other uncritical OpenSource License; Eclipse Public License 1.0
+License:        EPL-1.0
 # This is necessary to build the RPM as a non-root user.
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # "yes" is the default, but we put it here explicitly to avoid someone
@@ -34,6 +34,7 @@
 Requires:       sblim-sfcb sblim-cmpi-base
 Requires:       cim-schema >= 2.17
 Source0:        sblim-cmpi-ssh_service_profile-%{version}.tar.gz
+Patch1:         bnc530329-pclose.patch
 
 %description
 Linux providers for instrumentation of DMTF SSH Service Profile (DSP
@@ -50,6 +51,7 @@
 %prep
 # Untar the sources.
 %setup -n sblim-cmpi-ssh_service_profile-%{version}
+%patch1 -p1
 
 %build
 # If the LD_RUN_PATH environment variable is set at link time,

++++++ bnc530329-pclose.patch ++++++
diff -wruN -x '*~' ../orig-sblim-cmpi-ssh_service_profile-1.0.0/src/Resource.c 
./src/Resource.c
--- ../orig-sblim-cmpi-ssh_service_profile-1.0.0/src/Resource.c 2008-08-07 
18:31:58.000000000 +0200
+++ ./src/Resource.c    2012-01-24 09:40:14.000000000 +0100
@@ -252,7 +252,7 @@
         if (!ptr)
         {
             free(data);
-            fclose(is);
+            pclose(is);
             return -1;
         }
 
@@ -260,6 +260,7 @@
         memcpy(&data[size++], &sess, sizeof(sess));
     }
 
+    pclose(is);
     *sessions = data;
     *num_sessions = size;
     return 0;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to