Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
openwsman-yast
openwsman-yast-1.5.9.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openwsman-yast-1.5.9.patch of Package openwsman-yast
diff -wruN -x '*~' ../orig-openwsman-yast-1.5.9/src/yast.c ./src/yast.c --- ../orig-openwsman-yast-1.5.9/src/yast.c 2007-07-05 10:46:11.000000000 +0200 +++ ./src/yast.c 2011-10-18 12:37:59.000000000 +0200 @@ -58,6 +58,10 @@ #include <wsman-xml-api.h> +#include <u/memory.h> +#include <u/debug.h> +#include <u/debug_internal.h> + #include "yast.h" // diff -wruN -x '*~' ../orig-openwsman-yast-1.5.9/src/yast.h ./src/yast.h --- ../orig-openwsman-yast-1.5.9/src/yast.h 2007-07-05 10:46:11.000000000 +0200 +++ ./src/yast.h 2011-10-18 12:36:40.000000000 +0200 @@ -15,6 +15,8 @@ #include <wsman-declarations.h> +#include <u/iniparser.h> + // The resource is modeled as an xml string // see below: SER_DECLARE_TYPE struct __wsm_yast diff -wruN -x '*~' ../orig-openwsman-yast-1.5.9/src/yast_stub_custom.c ./src/yast_stub_custom.c --- ../orig-openwsman-yast-1.5.9/src/yast_stub_custom.c 2007-11-15 16:21:40.000000000 +0100 +++ ./src/yast_stub_custom.c 2011-10-18 12:40:28.000000000 +0200 @@ -56,6 +56,9 @@ #include <wsman-xml-api.h> #include <wsman-xml-serializer.h> +#include <u/debug.h> +#include <u/debug_internal.h> + #include "yast.h" @@ -183,7 +186,7 @@ } // get value of "ycp" - char *ycp = hnode_get( ycpnode ); + const char *ycp = hnode_get( ycpnode ); // create response out_doc = wsman_create_response_envelope( in_doc , NULL ); diff -wruN -x '*~' ../orig-openwsman-yast-1.5.9/src/yast_stub_identify.c ./src/yast_stub_identify.c --- ../orig-openwsman-yast-1.5.9/src/yast_stub_identify.c 2007-12-14 14:29:56.000000000 +0100 +++ ./src/yast_stub_identify.c 2011-10-18 12:38:21.000000000 +0200 @@ -56,6 +56,9 @@ #include <wsman-xml-api.h> #include <wsman-xml-serialize.h> +#include <u/debug.h> +#include <u/debug_internal.h> + #include "yast.h" diff -wruN -x '*~' ../orig-openwsman-yast-1.5.9/src/yast_yast.cc ./src/yast_yast.cc --- ../orig-openwsman-yast-1.5.9/src/yast_yast.cc 2007-08-06 16:24:12.000000000 +0200 +++ ./src/yast_yast.cc 2011-10-18 12:42:23.000000000 +0200 @@ -107,9 +107,9 @@ map2xml ( YCPMap m, WsXmlNodeH node ) { node = ws_xml_add_child( node, XML_NS_WSMAN_YAST, "map", NULL); - for (YCPMapIterator it = m->begin(); it != m->end(); it++) { - xmlify( it.key( ), ws_xml_add_child( node, XML_NS_WSMAN_YAST, "key", NULL) ); - xmlify( it.value( ), ws_xml_add_child( node, XML_NS_WSMAN_YAST, "value", NULL) ); + for (YCPMap::const_iterator it = m->begin(); it != m->end(); it++) { + xmlify( it->first, ws_xml_add_child( node, XML_NS_WSMAN_YAST, "key", NULL) ); + xmlify( it->second, ws_xml_add_child( node, XML_NS_WSMAN_YAST, "value", NULL) ); } return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor