Fix conversion between CMPIData and String
This commit is contained in:
parent
a57dbbf70a
commit
bc01487ba1
@ -0,0 +1,13 @@
|
|||||||
|
--- sblim-cmpi-devel-2.0.0/CmpiImpl.cpp 2009-07-01 20:22:03.000000000 +0530
|
||||||
|
+++ sblim-cmpi-devel-2.0.0_new/CmpiImpl.cpp 2009-07-01 20:22:03.000000000 +0530
|
||||||
|
@@ -894,8 +894,8 @@
|
||||||
|
|
||||||
|
CmpiData::CmpiData(const CmpiString& d) {
|
||||||
|
_data.state=CMPI_goodValue;
|
||||||
|
- _data.value.chars=(char*)d.charPtr();
|
||||||
|
- _data.type=CMPI_chars;
|
||||||
|
+ _data.value.string=d.getEnc();
|
||||||
|
+ _data.type=CMPI_string;
|
||||||
|
}
|
||||||
|
|
||||||
|
CmpiData::CmpiData(const char* d) {
|
||||||
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
Name: sblim-cmpi-devel
|
Name: sblim-cmpi-devel
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: SBLIM CMPI Provider Development Support
|
Summary: SBLIM CMPI Provider Development Support
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: EPL
|
License: EPL
|
||||||
URL: http://sblim.wiki.sourceforge.net/
|
URL: http://sblim.wiki.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: sblim-cmpi-devel-2.0.0-cmpidata_constructor_4_cmpistring.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -20,6 +21,7 @@ tog-pegasus-devel installed.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b cmpidata_constructor_4_cmpistring
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-library
|
%configure --disable-library
|
||||||
@ -38,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/cmpi
|
%{_includedir}/cmpi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 4 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.0-2
|
||||||
|
- Fix conversion between CMPIData and String
|
||||||
|
|
||||||
* Thu Aug 27 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.0-1
|
* Thu Aug 27 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.0-1
|
||||||
- Update to 2.0.0
|
- Update to 2.0.0
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user