Hello community, here is the log from the commit of package sblim-cmpi-base for openSUSE:Factory checked in at Mon Aug 24 22:24:29 CEST 2009. -------- --- sblim-cmpi-base/sblim-cmpi-base.changes 2009-05-25 16:46:23.000000000 +0200 +++ sblim-cmpi-base/sblim-cmpi-base.changes 2009-08-24 17:01:57.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 24 17:01:13 CEST 2009 - mhrusecky@suse.cz + +- Adding missing fclose (bnc#530325) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- sblim-cmpi-base-1.5.9-missing-fclose.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sblim-cmpi-base.spec ++++++ --- /var/tmp/diff_new_pack.dCewlW/_old 2009-08-24 22:24:04.000000000 +0200 +++ /var/tmp/diff_new_pack.dCewlW/_new 2009-08-24 22:24:04.000000000 +0200 @@ -21,16 +21,18 @@ Name: sblim-cmpi-base BuildRequires: gcc-c++ sblim-cmpi-devel sblim-indication_helper-devel sblim-sfcb sblim-testsuite Version: 1.5.9 -Release: 3 +Release: 4 Group: System/Management -License: IBM Public License +License: IBM Public License .. BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: cim-server cim-schema Url: http://sblim.wiki.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2 Source1: sblim-cmpi-base-rpmlintrc # PATCH-FEATURE-OPENSUSE sblim-cmpi-base-1.5.9-methods-enable.patch [ bnc#470670 ] mhrusecky@suse.cz -- Enables methods by default -Patch: %{name}-1.5.9-methods-enable.patch +Patch0: sblim-cmpi-base-1.5.9-methods-enable.patch +# PATCH-FIX-UPSTREAM sblim-cmpi-base-1.5.9-missing-fclose.patch [ bnc#530325 upstream#2843613 ] mhrusecky@suse.cz -- Adding missing fclose +Patch1: sblim-cmpi-base-1.5.9-missing-fclose.patch Summary: SBLIM Base Instrumentation %description @@ -43,7 +45,7 @@ SBLIM Project %package devel -License: IBM Public License +License: IBM Public License .. Summary: SBLIM Base Instrumentation Header Development Files Group: Development/Libraries/C and C++ Requires: %{name} = %{version} @@ -58,7 +60,7 @@ SBLIM Project %package testsuite -License: IBM Public License +License: IBM Public License .. Summary: SBLIM Base Instrumentation (test suite) Group: System/Management Requires: %{name} = %{version} @@ -75,7 +77,8 @@ %prep %setup -T -b 0 -n %{name}-%{version} -%patch +%patch0 +%patch1 %build autoreconf -fi ++++++ sblim-cmpi-base-1.5.9-missing-fclose.patch ++++++ Index: OSBase_OperatingSystemStatisticalData.c =================================================================== --- OSBase_OperatingSystemStatisticalData.c.orig +++ OSBase_OperatingSystemStatisticalData.c @@ -155,6 +155,7 @@ int get_cpu_page_data_24(struct os_stati if ((f = fopen(DATA_FILE,"r")) != NULL) { read_count = fread(buf,sizeof(char),sizeof(buf)-1,f); buf[read_count] = '\0'; + fclose(f); /* read cpu data * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org