rpms/sblim-cmpi-devel/F-12 CmpiData_constructor_4_CmpiString.patch, NONE, 1.1 sblim-cmpi-devel.spec, 1.12, 1.13
Praveen K Paladugu
praveenp at fedoraproject.org
Wed Oct 7 22:02:53 UTC 2009
- Previous message (by thread): rpms/sblim-cmpi-devel/F-11 sblim-cmpi-devel.spec,1.11,1.12
- Next message (by thread): rpms/snownews/F-12 snownews-1.5.12-manpage.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 snownews.spec, 1.20, 1.21 sources, 1.7, 1.8 snownews-1.5.10-manpage.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: praveenp
Update of /cvs/pkgs/rpms/sblim-cmpi-devel/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1099
Modified Files:
sblim-cmpi-devel.spec
Added Files:
CmpiData_constructor_4_CmpiString.patch
Log Message:
Added a patch
CmpiData_constructor_4_CmpiString.patch:
CmpiImpl.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE CmpiData_constructor_4_CmpiString.patch ---
--- 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) {
Index: sblim-cmpi-devel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sblim-cmpi-devel/F-12/sblim-cmpi-devel.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- sblim-cmpi-devel.spec 27 Aug 2009 13:14:17 -0000 1.12
+++ sblim-cmpi-devel.spec 7 Oct 2009 22:02:53 -0000 1.13
@@ -2,13 +2,14 @@
Name: sblim-cmpi-devel
Version: 2.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: SBLIM CMPI Provider Development Support
Group: Development/Libraries
License: EPL
URL: http://sblim.wiki.sourceforge.net/
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
+Patch0: CmpiData_constructor_4_CmpiString.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -20,6 +21,7 @@ tog-pegasus-devel installed.
%prep
%setup -q
+%patch0 -p1
%build
%configure --disable-library
@@ -38,6 +40,10 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/cmpi
%changelog
+* Wed Oct 7 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.0.0-2
+- CmpiData_constructor_4_CmpiString: This patch allows providers to convert
+- CMPIData to String. The conversion of retrieving string info from CMPIData was wrong.
+- This patch fixes the conversion.
* Thu Aug 27 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 2.0.0-1
- Update to 2.0.0
- Previous message (by thread): rpms/sblim-cmpi-devel/F-11 sblim-cmpi-devel.spec,1.11,1.12
- Next message (by thread): rpms/snownews/F-12 snownews-1.5.12-manpage.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 snownews.spec, 1.20, 1.21 sources, 1.7, 1.8 snownews-1.5.10-manpage.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list