You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/04/17 13:37:42 UTC
svn commit: r649056 - in /webservices/axis2/trunk/c:
guththila/src/Makefile.am src/core/engine/Makefile.am
util/test/properties/property_test.c
util/test/string_util/string_util_test.c util/test/utils/utils_test.c
Author: dinesh
Date: Thu Apr 17 04:37:38 2008
New Revision: 649056
URL: http://svn.apache.org/viewvc?rev=649056&view=rev
Log:
fixed:axis2c-1106, thanks steve for the patch
Modified:
webservices/axis2/trunk/c/guththila/src/Makefile.am
webservices/axis2/trunk/c/src/core/engine/Makefile.am
webservices/axis2/trunk/c/util/test/properties/property_test.c
webservices/axis2/trunk/c/util/test/string_util/string_util_test.c
webservices/axis2/trunk/c/util/test/utils/utils_test.c
Modified: webservices/axis2/trunk/c/guththila/src/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/Makefile.am?rev=649056&r1=649055&r2=649056&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/Makefile.am (original)
+++ webservices/axis2/trunk/c/guththila/src/Makefile.am Thu Apr 17 04:37:38 2008
@@ -1,5 +1,7 @@
lib_LTLIBRARIES = libguththila.la
+libguththila_la_LDFLAGS = -version-info $(VERSION_NO)
+
libguththila_la_SOURCES = guththila_buffer.c \
guththila_namespace.c \
guththila_token.c \
Modified: webservices/axis2/trunk/c/src/core/engine/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/engine/Makefile.am?rev=649056&r1=649055&r2=649056&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/engine/Makefile.am (original)
+++ webservices/axis2/trunk/c/src/core/engine/Makefile.am Thu Apr 17 04:37:38 2008
@@ -13,6 +13,8 @@
ctx_handler.c \
engine.c
+libaxis2_engine_la_LDFLAGS = -version-info $(VERSION_NO)
+
libaxis2_engine_la_LIBADD=$(top_builddir)/src/core/description/libaxis2_description.la \
$(top_builddir)/src/core/receivers/libaxis2_receivers.la \
$(top_builddir)/src/core/deployment/libaxis2_deployment.la \
Modified: webservices/axis2/trunk/c/util/test/properties/property_test.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/test/properties/property_test.c?rev=649056&r1=649055&r2=649056&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/test/properties/property_test.c (original)
+++ webservices/axis2/trunk/c/util/test/properties/property_test.c Thu Apr 17 04:37:38 2008
@@ -3,6 +3,10 @@
#include "../util/create_env.h"
#include <axutil_properties.h>
+axis2_char_t *
+axutil_properties_read(
+ FILE *input,
+ const axutil_env_t *env);
/** @brief test properties
* read file and give the output
@@ -35,7 +39,7 @@
else
printf("The the axutil_properties_create is successfull\n");
- cur = (axis2_char_t*)axutil_properties_read(input,env);
+ cur = axutil_properties_read(input,env);
if(!cur)
{
printf("Can't read properties\n");
Modified: webservices/axis2/trunk/c/util/test/string_util/string_util_test.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/test/string_util/string_util_test.c?rev=649056&r1=649055&r2=649056&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/test/string_util/string_util_test.c (original)
+++ webservices/axis2/trunk/c/util/test/string_util/string_util_test.c Thu Apr 17 04:37:38 2008
@@ -1,5 +1,6 @@
#include <string.h>
#include "../util/create_env.h"
+#include <axutil_string_util.h>
#include <axutil_array_list.h>
/** @brief test string
@@ -11,10 +12,11 @@
int delim = ' ';
void *token = NULL;
void *last_token_string = NULL;
- void *first_token_string = NULL;
+ void *first_token_string = NULL;
+ axutil_array_list_t * first_token, * last_token;
axis2_char_t * in = "this is a test string";
- axutil_array_list_t * tokenize = (axutil_array_list_t *)axutil_tokenize(env, in, delim);
+ axutil_array_list_t * tokenize = axutil_tokenize(env, in, delim);
if(tokenize)
{
token = axutil_array_list_get(tokenize,env,4);
@@ -24,7 +26,7 @@
else
return AXIS2_FAILURE;
- axutil_array_list_t * first_token = (axutil_array_list_t *)axutil_first_token(env,in,delim);
+ first_token = axutil_first_token(env,in,delim);
if(first_token)
{
first_token_string = axutil_array_list_get(first_token,env,1);
@@ -34,7 +36,7 @@
else
return AXIS2_FAILURE;
- axutil_array_list_t * last_token = (axutil_array_list_t *)axutil_last_token(env,in,delim);
+ last_token = axutil_last_token(env,in,delim);
if(last_token)
{
last_token_string = axutil_array_list_get(last_token,env,1);
Modified: webservices/axis2/trunk/c/util/test/utils/utils_test.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/test/utils/utils_test.c?rev=649056&r1=649055&r2=649056&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/test/utils/utils_test.c (original)
+++ webservices/axis2/trunk/c/util/test/utils/utils_test.c Thu Apr 17 04:37:38 2008
@@ -1,4 +1,5 @@
#include "../util/create_env.h"
+#include <axutil_utils.h>
axutil_env_t *env = NULL;
axis2_char_t * request = "This is a requset";
@@ -10,12 +11,14 @@
*/
axis2_status_t test_utils()
-{
+{
+ axis2_char_t **op, *quote_string;
+ int hexit;
env = create_environment();
- axis2_char_t **op = (axis2_char_t **)axutil_parse_request_url_for_svc_and_op(env,request);
- axis2_char_t * quote_string = (axis2_char_t *)axutil_xml_quote_string(env,s,1);
+ op = axutil_parse_request_url_for_svc_and_op(env,request);
+ quote_string = axutil_xml_quote_string(env,s,1);
printf("The quote string is%s\n",(char *)quote_string);
- int hexit = axutil_hexit(c);
+ hexit = axutil_hexit(c);
printf("%d\n",hexit);
if(op && quote_string)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org