From: Michael Chase-S. <mc...@us...> - 2011-03-30 18:16:24
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SFCC - Small Footprint CIM Client". The branch, master has been updated via f43b3f6e71bc969e91a11e905b06e46132e70245 (commit) from 2654341affe0c249aee6060bfa9fa598d4712961 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f43b3f6e71bc969e91a11e905b06e46132e70245 Author: Michael Chase-Salerno <br...@li...> Date: Wed Mar 30 14:15:54 2011 -0400 2847964 [patch] sfcc's getClass() fails to report class qualifiers ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 1f7e77d..b3c53da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-30 Michael Chase-Salerno <br...@li...> + + * backend/cimxml/constClass.c, backend/cimxml/grammar.c + [ 2847964 ] sfcc's getClass() fails to report class qualifiers + (patch by Klaus Kampf) + 2011-03-30 Narasimha Sharoff <nsh...@us...> * backend/cimxml/value.c frontend/cpp/CimData.cpp ; sfcclient.c @@ -74,7 +80,7 @@ Fixed 2849853: getClass reports most property types as CMPI_Instance (patch by Klaus Kampf) -2009-09-02 Michael Chase-Salerno <br...@li...> +2009-09-02 Michael Chase-Salerno <ckend/cimxml/con...@li...> * backend/cimxml/client.c Fixed 2847782: sfcc getClass crashes if cimom isn't running (patch by Klaus Kämpf) diff --git a/NEWS b/NEWS index 26229f8..cf0a070 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,7 @@ Bugs: - 3196128: enumInstances does not set NameSpace in ObjectPath in XML mode - 1956407: CIM-XML/HTTP connection to unix socket - 2967257: Use of CMPI_chars in SFCC. General CMPI specification bug +- 2847964: sfcc's getClass() fails to report class qualifiers Changes in 2.2.1 ================ diff --git a/backend/cimxml/constClass.c b/backend/cimxml/constClass.c index 3fd20e6..c750676 100644 --- a/backend/cimxml/constClass.c +++ b/backend/cimxml/constClass.c @@ -71,6 +71,7 @@ static CMPIConstClass * __ccft_clone ( CMPIConstClass * ccls, CMPIStatus * rc ) new->ccls = cc->ccls; new->classname = strdup ( cc->classname ); + new->qualifiers= qualifierFT.clone ( cc->qualifiers, rc ); new->props = propertyFT.clone ( cc->props, rc ); return (CMPIConstClass *) new; diff --git a/backend/cimxml/grammar.c b/backend/cimxml/grammar.c index ca16176..660c1a1 100644 --- a/backend/cimxml/grammar.c +++ b/backend/cimxml/grammar.c @@ -429,6 +429,7 @@ static void iReturnValueContent(ParserControl *parm, parseUnion *stateUnion) dontLex = 1; class(parm, (parseUnion*)&lvalp.xtokClass); cls = native_new_CMPIConstClass(lvalp.xtokClass.className,NULL); + setClassQualifiers(cls, &lvalp.xtokClass.qualifiers); setClassProperties(cls, &lvalp.xtokClass.properties); simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&cls,CMPI_class); ct = localLex(&lvalp, parm); hooks/post-receive -- SFCC - Small Footprint CIM Client |