Hello community,
here is the log from the commit of package sblim-sfcc for openSUSE:Factory checked in at 2012-06-15 15:40:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sblim-sfcc (Old)
and /work/SRC/openSUSE:Factory/.sblim-sfcc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sblim-sfcc", Maintainer is "VDziewiecki@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/sblim-sfcc/sblim-sfcc.changes 2012-03-13 09:39:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sblim-sfcc.new/sblim-sfcc.changes 2012-06-15 16:31:26.000000000 +0200
@@ -1,0 +2,12 @@
+Wed Jun 13 07:17:41 UTC 2012 - kkaempf@suse.com
+
+- Update to 2.2.4
+ Bugfix release, fixing:
+ - 3344403: Beam, unitialized vars
+ - 3344757: Beam, deref of potential Null pointers.
+ - 3344917: Beam, file leak
+ - 3528819: Crash in getInstance when instance has NULL properties
+ - 3530609: Various BEAM Errors
+ - 3435363: Wrong call of curl_global_cleanup()
+
+-------------------------------------------------------------------
Old:
----
3435363-drop-curl_global_cleanup.patch
sblim-sfcc-2.2.3.tar.bz2
New:
----
sblim-sfcc-2.2.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sblim-sfcc.spec ++++++
--- /var/tmp/diff_new_pack.lg7TkP/_old 2012-06-15 16:31:27.000000000 +0200
+++ /var/tmp/diff_new_pack.lg7TkP/_new 2012-06-15 16:31:27.000000000 +0200
@@ -16,9 +16,8 @@
#
-
Name: sblim-sfcc
-Version: 2.2.3
+Version: 2.2.4
Release: 0
Url: http://sblim.wiki.sourceforge.net/
Summary: Small Footprint CIM Client Library
@@ -28,7 +27,6 @@
Source1: autoconfiscate.sh
Patch15: 0006-Show-class-and-property-qualifiers.patch
-Patch16: 3435363-drop-curl_global_cleanup.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
@@ -49,8 +47,9 @@
%package devel
Summary: Small Footprint CIM Client Library
-Requires: %{name} = %{version} glibc-devel
-Group: Development/Other
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: glibc-devel
%description devel
Small Footprint CIM Client Library (sfcc) Header Files and Link
@@ -60,7 +59,6 @@
%setup -q
%patch15 -p1
-%patch16 -p1
%build
# autoconfiscate
++++++ sblim-sfcc-2.2.3.tar.bz2 -> sblim-sfcc-2.2.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/ChangeLog new/sblim-sfcc-2.2.4/ChangeLog
--- old/sblim-sfcc-2.2.3/ChangeLog 2011-05-28 01:39:17.000000000 +0200
+++ new/sblim-sfcc-2.2.4/ChangeLog 2012-06-07 19:55:27.000000000 +0200
@@ -1,3 +1,38 @@
+2012-06-07 Chris Buccella
+
+ * backend/cimxml/client.c, cimc/cimc.h, cimc/cimcclient.c:
+ [ 3435363 ] Wrong call of curl_global_cleanup()
+
+2012-05-29 Chris Buccella
+
+ * TEST/v2test_ecn.c, backend/cimxml/cimXmlParser.c,
+ backend/cimxml/client.c, backend/cimxml/objectpath.c,
+ backend/cimxml/parserUtil.c, backend/cimxml/value.c:
+ [ 3530609 ] Various BEAM Errors
+
+ * backend/cimxml/property.c:
+ [ 3528819 ] Crash in getInstance when instance has NULL properties
+ (patch by Klaus Kampf)
+
+2011-06-29 Michael Chase-Salerno
+
+ * cimc/cimcclient.c:
+ [ 3344917 ] Beam, file leak
+
+2011-06-29 Michael Chase-Salerno
+
+ * backend/cimxml/array.c, backend/cimxml/client.c,
+ backend/cimxml/instance.c, backend/cimxml/objectpath.c:
+ [ 3344757 ] Beam, deref of potential Null pointers.
+
+2011-06-29 Michael Chase-Salerno
+
+ * backend/cimxml/client.c, backend/cimxml/constClass.c,
+ backend/cimxml/enumeration.c, backend/cimxml/instance.c,
+ backend/cimxml/parserUtil.c, backend/cimxml/property.c,
+ backend/cimxml/qualifier.c, backend/cimxml/value.c:
+ [ 3344403 ] Beam, unitialized vars
+
2011-05-27 Chris Buccella
* backend/cimxml/grammar.c, backend/cimxml/cimXmlParser.h,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/NEWS new/sblim-sfcc-2.2.4/NEWS
--- old/sblim-sfcc-2.2.3/NEWS 2011-05-28 01:39:43.000000000 +0200
+++ new/sblim-sfcc-2.2.4/NEWS 2012-06-07 19:55:47.000000000 +0200
@@ -1,5 +1,16 @@
Small Footprint CIM Client Library NEWS
+Changes in 2.2.4
+================
+
+Bugs:
+- 3344403: Beam, unitialized vars
+- 3344757: Beam, deref of potential Null pointers.
+- 3344917: Beam, file leak
+- 3528819: Crash in getInstance when instance has NULL properties
+- 3530609: Various BEAM Errors
+- 3435363: Wrong call of curl_global_cleanup()
+
Changes in 2.2.3
================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/TEST/v2test_ecn.c new/sblim-sfcc-2.2.4/TEST/v2test_ecn.c
--- old/sblim-sfcc-2.2.3/TEST/v2test_ecn.c 2011-03-29 21:51:42.000000000 +0200
+++ new/sblim-sfcc-2.2.4/TEST/v2test_ecn.c 2012-06-04 21:11:18.000000000 +0200
@@ -26,7 +26,7 @@
int rc;
CIMCStatus status;
CIMCClient *client;
- CIMCObjectPath *op;
+ CIMCObjectPath *op, *cop;
CIMCEnumeration *enm;
CIMCString *path;
CIMCData data;
@@ -74,9 +74,9 @@
return 1;
}
- op = ce->ft->newObjectPath(ce, "root/cimv2", NULL , &status);
+ cop = ce->ft->newObjectPath(ce, "root/cimv2", NULL , &status);
printf(" calling enumClassNames \n") ;
- enm = client->ft->enumClassNames(client, op, 0 , &status);
+ enm = client->ft->enumClassNames(client, cop, 0 , &status);
printf(" back from enumClassNames \n") ;
@@ -95,7 +95,7 @@
}
if(enm) enm->ft->release(enm);
- if(op) op->ft->release(op);
+ if(cop) cop->ft->release(cop);
if(client) client->ft->release(client);
if(ce) ce->ft->release(ce);
if(status.msg) CMRelease(status.msg);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/array.c new/sblim-sfcc-2.2.4/backend/cimxml/array.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/array.c 2010-07-14 22:19:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/array.c 2012-05-29 00:04:30.000000000 +0200
@@ -186,6 +186,14 @@
}
}
+ if ( type == CMPI_null ) {
+
+ if ( ! ( a->data[index].state & CMPI_nullValue ) ) {
+ __make_NULL ( a, index, index, 1 );
+ }
+ CMReturn ( CMPI_RC_OK );
+ }
+
if ( opt || type == a->type ) {
CMPIStatus rc = {CMPI_RC_OK, NULL};
@@ -197,14 +205,6 @@
CMRelease(v.string);
return rc;
}
-
- if ( type == CMPI_null ) {
-
- if ( ! ( a->data[index].state & CMPI_nullValue ) ) {
- __make_NULL ( a, index, index, 1 );
- }
- CMReturn ( CMPI_RC_OK );
- }
}
CMReturn ( CMPI_RC_ERR_FAILED );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/cimXmlParser.c new/sblim-sfcc-2.2.4/backend/cimxml/cimXmlParser.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/cimXmlParser.c 2011-05-28 00:55:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/cimXmlParser.c 2012-05-29 20:11:45.000000000 +0200
@@ -281,7 +281,7 @@
strcat(ptr," ");
strcat(ptr, tag);
Throw(xb, ptr);
- return -1;
+ return 0;
}
/* Is this Broken? I guess we don't allow escaping the quotes */
@@ -505,7 +505,7 @@
{NULL}
};
XmlAttr attr[0];
- memset(attr, 0, sizeof(attr));
+ // memset(attr, 0, sizeof(attr));
if (attrsOk(parm->xmb, elm, attr, "IRETURNVALUE", ZTOK_IRETVALUE)) {
return XTOK_IRETVALUE;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/client.c new/sblim-sfcc-2.2.4/backend/cimxml/client.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/client.c 2011-03-29 22:20:00.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/client.c 2012-06-04 21:14:01.000000000 +0200
@@ -675,7 +675,7 @@
buflen = 2 * buflen;
XmlStr = realloc(XmlStr,buflen);
if (XmlStr == NULL) {
- break;
+ return NULL;
}
}
@@ -2221,7 +2221,7 @@
char *error;
ResponseHdr rh;
CMPIString *cn;
- CMPIData retval;
+ CMPIData retval= { 0, CMPI_nullValue, {0} };
int i, numinargs = 0;
char *cv;
@@ -2562,7 +2562,7 @@
char *error;
ResponseHdr rh;
CMPIString *cn;
- CMPIData retval;
+ CMPIData retval= { 0, CMPI_nullValue, {0} };
START_TIMING(GetProperty);
SET_DEBUG();
@@ -2946,7 +2946,7 @@
curl_easy_setopt(cc->connection->mHandle,CURLOPT_SSLKEY,keyFile);
}
- CMSetStatus(rc, CMPI_RC_OK);
+ CMSetStatus(rc, CIMC_RC_OK);
return (CIMCClient*)cc;
}
@@ -2961,8 +2961,12 @@
{
CMPIStatus rc = {CMPI_RC_OK,NULL};
+ if (!(env->options & CIMC_NO_CURL_INIT)) {
+ curl_global_cleanup();
+ }
+
free(env);
- curl_global_cleanup();
+
return NULL;
}
@@ -3036,13 +3040,18 @@
/* Factory function for CIMXML Client */
-CIMCEnv* _Create_XML_Env(char *id)
+CIMCEnv* _Create_XML_Env(const char *id, unsigned int options, int *rc, char **msg)
{
CIMCEnv *env = (CIMCEnv*)malloc(sizeof(CIMCEnv));
env->hdl=NULL;
env->ft=&localFT;
-
+ env->options = options;
+
+ if (!(options & CIMC_NO_CURL_INIT)) {
+ curl_global_init(CURL_GLOBAL_SSL);
+ }
+
return env;
}
/* *********************************************************** */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/constClass.c new/sblim-sfcc-2.2.4/backend/cimxml/constClass.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/constClass.c 2011-03-30 23:26:40.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/constClass.c 2012-05-29 00:04:30.000000000 +0200
@@ -152,8 +152,7 @@
if (p) return qualifierFT.getDataQualifier ( p->qualifiers, qname, rc );
CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY );
- CMPIData ret;
- ret.state = CMPI_nullValue;
+ CMPIData ret = { 0, CMPI_nullValue, {0} };
return ret;
}
@@ -168,8 +167,7 @@
if (p) return qualifierFT.getDataQualifierAt ( p->qualifiers, index, name, rc );
CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY );
- CMPIData ret;
- ret.state = CMPI_nullValue;
+ CMPIData ret= { 0, CMPI_nullValue, {0} };
return ret;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/enumeration.c new/sblim-sfcc-2.2.4/backend/cimxml/enumeration.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/enumeration.c 2010-07-14 22:19:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/enumeration.c 2012-05-29 00:04:30.000000000 +0200
@@ -67,7 +67,7 @@
static CMPIStatus __eft_release ( CMPIEnumeration * enumeration )
{
struct native_enum * e = (struct native_enum *) enumeration;
- CMPIStatus st;
+ CMPIStatus st= { CMPI_RC_OK, NULL };
if (e) {
if (e->data)
st = CMRelease(e->data);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/instance.c new/sblim-sfcc-2.2.4/backend/cimxml/instance.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/instance.c 2011-05-28 00:55:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/instance.c 2012-05-29 00:04:30.000000000 +0200
@@ -186,8 +186,7 @@
if (p) return qualifierFT.getDataQualifier ( p->qualifiers, qname, rc );
CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY );
- CMPIData ret;
- ret.state = CMPI_nullValue;
+ CMPIData ret = { 0, CMPI_nullValue, {0} };
return ret;
}
@@ -202,8 +201,7 @@
if (p) return qualifierFT.getDataQualifierAt ( p->qualifiers, index, name, rc );
CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY );
- CMPIData ret;
- ret.state = CMPI_nullValue;
+ CMPIData ret = { 0, CMPI_nullValue, {0} };
return ret;
}
@@ -343,12 +341,12 @@
int j = CMGetKeyCount ( cop, &tmp1 );
str = CMGetClassName ( cop, &tmp2 );
- instance->classname = strdup(CMGetCharPtr ( str ));
+ instance->classname = strdup(CMGetCharPtr ( str ));
CMRelease(str);
str = CMGetNameSpace ( cop, &tmp3 );
instance->nameSpace = (str && str->hdl) ? strdup(CMGetCharPtr ( str )) : NULL;
- CMRelease(str);
+ if (str) CMRelease(str);
if ( tmp1.rc != CMPI_RC_OK ||
tmp2.rc != CMPI_RC_OK ||
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/objectpath.c new/sblim-sfcc-2.2.4/backend/cimxml/objectpath.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/objectpath.c 2011-05-28 00:55:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/objectpath.c 2012-05-29 02:30:45.000000000 +0200
@@ -104,14 +104,13 @@
{
struct native_cop * o = (struct native_cop *) cop;
- char * ns = ( nameSpace )? strdup ( nameSpace ): NULL;
-
if ( o ) {
+ char * ns = ( nameSpace )? strdup ( nameSpace ): NULL;
+
if ( o->nameSpace )
free ( o->nameSpace );
+ o->nameSpace = ns;
}
-
- o->nameSpace = ns;
CMReturn ( CMPI_RC_OK );
}
@@ -144,13 +143,14 @@
{
struct native_cop * o = (struct native_cop *) cop;
- char * cn = ( classname )? strdup ( classname ): NULL;
-
if ( o ) {
- free ( o->classname );
+ char * cn = ( classname )? strdup ( classname ): NULL;
+
+ if ( o->classname )
+ free ( o->classname );
+ o->classname = cn;
}
- o->classname = cn;
CMReturn ( CMPI_RC_OK );
}
@@ -453,7 +453,7 @@
if (nss && nss->hdl) {
ns=(char*)nss->hdl;
- if (ns) for (s=i=0, m=strlen(ns); ift->append(ul,strdup(nsc));
@@ -465,7 +465,7 @@
}
if (s) ul->ft->append(ul,strdup(nsc));
- CMRelease(nss);
+ if (nss) CMRelease(nss);
return ul;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/parserUtil.c new/sblim-sfcc-2.2.4/backend/cimxml/parserUtil.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/parserUtil.c 2010-07-14 22:19:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/parserUtil.c 2012-05-29 01:10:43.000000000 +0200
@@ -85,7 +85,7 @@
CMPIValue val;
CMPIObjectPath *op;
CMPIStatus status;
- CMPIType type;
+ CMPIType type = CMPI_null;
XtokQualifier *nq = NULL,*q;
XtokQualifiers *qs;
int rc, n, setq;
@@ -225,7 +225,7 @@
{
XtokProperty *np = NULL,*p = ps ? ps->first : NULL;
CMPIValue val;
- CMPIArray *arr;
+ CMPIArray *arr = NULL;
XtokQualifier *nq,*q;
XtokQualifiers *qs;
int rc, n;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/property.c new/sblim-sfcc-2.2.4/backend/cimxml/property.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/property.c 2010-07-14 22:19:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/property.c 2012-05-29 19:52:34.000000000 +0200
@@ -44,7 +44,7 @@
static CMPIData __convert2CMPIData ( struct native_property * prop,
CMPIString ** propname )
{
- CMPIData result;
+ CMPIData result = { 0, CMPI_nullValue, {0} };
if ( prop != NULL ) {
result.type = prop->type;
@@ -56,9 +56,7 @@
NULL );
}
- } else {
- result.state = CMPI_nullValue;
- }
+ }
return result;
}
@@ -245,15 +243,16 @@
result->name = strdup ( prop->name );
result->type = prop->type;
result->state = prop->state;
- result->value = native_clone_CMPIValue ( prop->type,
- &prop->value,
- &tmp );
-
- if ( tmp.rc != CMPI_RC_OK ) {
+ if (prop->state != CMPI_nullValue
+ && prop->state != CMPI_badValue) {
+ result->value = native_clone_CMPIValue ( prop->type,
+ &prop->value,
+ &tmp );
+ if ( tmp.rc != CMPI_RC_OK ) {
result->state = CMPI_nullValue;
- }
-
+ }
+ }
result->qualifiers = qualifierFT.clone ( prop->qualifiers, rc );
result->next = __clone ( prop->next, rc );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/qualifier.c new/sblim-sfcc-2.2.4/backend/cimxml/qualifier.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/qualifier.c 2010-07-14 22:19:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/qualifier.c 2012-05-29 00:04:30.000000000 +0200
@@ -53,7 +53,7 @@
static CMPIData __convert2CMPIData ( struct native_qualifier * qual,
CMPIString ** qualname )
{
- CMPIData result;
+ CMPIData result = { 0, CMPI_nullValue, {0} };
if ( qual != NULL ) {
result.type = qual->type;
@@ -64,9 +64,6 @@
*qualname = native_new_CMPIString ( qual->name,
NULL );
}
-
- } else {
- result.state = CMPI_nullValue;
}
return result;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/backend/cimxml/value.c new/sblim-sfcc-2.2.4/backend/cimxml/value.c
--- old/sblim-sfcc-2.2.3/backend/cimxml/value.c 2011-03-30 23:26:40.000000000 +0200
+++ new/sblim-sfcc-2.2.4/backend/cimxml/value.c 2012-05-29 02:14:14.000000000 +0200
@@ -110,37 +110,30 @@
switch ( type ) {
case CMPI_instance:
- if (val->inst)
v.inst = CMClone ( val->inst, rc );
break;
case CMPI_ref:
- if (val->ref)
v.ref = CMClone ( val->ref, rc );
break;
case CMPI_args:
- if (val->args)
v.args = CMClone ( val->args, rc );
break;
case CMPI_enumeration:
- if (val->Enum)
v.Enum = CMClone ( val->Enum, rc );
break;
case CMPI_string:
- if (val->string)
v.string = CMClone ( val->string, rc );
break;
case CMPI_chars:
- if (val->chars)
v.chars = strdup ( val->chars );
break;
case CMPI_dateTime:
- if (val->dateTime)
v.dateTime = CMClone ( val->dateTime, rc );
break;
}
@@ -291,7 +284,7 @@
else if (strcasecmp(type, "ref") == 0) {
CMPIObjectPath *op;
char *hn="",*ns="",*cn;
- CMPIType type;
+ CMPIType type = 0;
CMPIValue v, *valp;
int i,m;
XtokInstanceName *in;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/cimc/cimc.h new/sblim-sfcc-2.2.4/cimc/cimc.h
--- old/sblim-sfcc-2.2.3/cimc/cimc.h 2010-07-14 22:19:07.000000000 +0200
+++ new/sblim-sfcc-2.2.4/cimc/cimc.h 2012-06-04 20:49:31.000000000 +0200
@@ -30,6 +30,9 @@
extern "C" {
#endif
+/* NewCIMCEnv options */
+
+#define CIMC_NO_CURL_INIT 1 /* don't call curl_global_init() or _cleanup() */
/*
@@ -404,6 +407,7 @@
struct _CIMCEnv {
void *hdl;
CIMCEnvFT *ft;
+ unsigned int options;
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/cimc/cimcclient.c new/sblim-sfcc-2.2.4/cimc/cimcclient.c
--- old/sblim-sfcc-2.2.3/cimc/cimcclient.c 2011-05-28 01:38:39.000000000 +0200
+++ new/sblim-sfcc-2.2.4/cimc/cimcclient.c 2012-06-07 19:53:16.000000000 +0200
@@ -36,7 +36,12 @@
#define ENTLEN 256
#define ERRLEN 1024
+/* Create new CIMCEnv
+ id - the interface to use, either XML or SfcbLocal
+ options - options passed to the given backend (ops in cimc.h)
+
+ */
CIMCEnv* NewCIMCEnv(const char *id, unsigned int options, int *rc, char **msg)
{
char libName[LIBLEN+1];
@@ -72,6 +77,7 @@
*msg=calloc(1,ERRLEN+1);
*rc=2;
snprintf(*msg,ERRLEN,"Unable to locate entry %s in %s",entry,libName);
+ dlclose(library);
} else {
*rc=0;
*msg=NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/configure new/sblim-sfcc-2.2.4/configure
--- old/sblim-sfcc-2.2.3/configure 2011-06-28 20:28:10.000000000 +0200
+++ new/sblim-sfcc-2.2.4/configure 2012-06-12 21:44:12.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for sblim-sfcc 2.2.3.
+# Generated by GNU Autoconf 2.65 for sblim-sfcc 2.2.4.
#
# Report bugs to .
#
@@ -701,8 +701,8 @@
# Identity of this package.
PACKAGE_NAME='sblim-sfcc'
PACKAGE_TARNAME='sblim-sfcc'
-PACKAGE_VERSION='2.2.3'
-PACKAGE_STRING='sblim-sfcc 2.2.3'
+PACKAGE_VERSION='2.2.4'
+PACKAGE_STRING='sblim-sfcc 2.2.4'
PACKAGE_BUGREPORT='sblim-devel@lists.sourceforge.net'
PACKAGE_URL=''
@@ -1432,7 +1432,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures sblim-sfcc 2.2.3 to adapt to many kinds of systems.
+\`configure' configures sblim-sfcc 2.2.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1502,7 +1502,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of sblim-sfcc 2.2.3:";;
+ short | recursive ) echo "Configuration of sblim-sfcc 2.2.4:";;
esac
cat <<\_ACEOF
@@ -1609,7 +1609,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-sblim-sfcc configure 2.2.3
+sblim-sfcc configure 2.2.4
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2155,7 +2155,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by sblim-sfcc $as_me 2.2.3, which was
+It was created by sblim-sfcc $as_me 2.2.4, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
@@ -2970,7 +2970,7 @@
# Define the identity of the package.
PACKAGE='sblim-sfcc'
- VERSION='2.2.3'
+ VERSION='2.2.4'
cat >>confdefs.h <<_ACEOF
@@ -16043,7 +16043,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by sblim-sfcc $as_me 2.2.3, which was
+This file was extended by sblim-sfcc $as_me 2.2.4, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16109,7 +16109,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-sblim-sfcc config.status 2.2.3
+sblim-sfcc config.status 2.2.4
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/configure.ac new/sblim-sfcc-2.2.4/configure.ac
--- old/sblim-sfcc-2.2.3/configure.ac 2011-06-28 20:27:49.000000000 +0200
+++ new/sblim-sfcc-2.2.4/configure.ac 2012-06-12 21:43:54.000000000 +0200
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT(sblim-sfcc, 2.2.3, sblim-devel@lists.sourceforge.net)
+AC_INIT(sblim-sfcc, 2.2.4, sblim-devel@lists.sourceforge.net)
AC_CONFIG_SRCDIR([cimc/cimcclient.c])
AC_CONFIG_HEADER([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sblim-sfcc-2.2.3/sfcc.spec new/sblim-sfcc-2.2.4/sfcc.spec
--- old/sblim-sfcc-2.2.3/sfcc.spec 2011-06-28 20:28:15.000000000 +0200
+++ new/sblim-sfcc-2.2.4/sfcc.spec 2012-06-12 21:44:17.000000000 +0200
@@ -8,7 +8,7 @@
Summary: Small Footprint CIM Client Library
Name: sblim-sfcc
-Version: 2.2.3
+Version: 2.2.4
Release: 0
Group: Systems Management/Base
License: EPL
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org