axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r331941 - in /webservices/axis2/trunk/c/modules/core: description/src/ engine/src/
Date Wed, 09 Nov 2005 03:53:29 GMT
Author: samisa
Date: Tue Nov  8 19:53:18 2005
New Revision: 331941

URL: http://svn.apache.org/viewcvs?rev=331941&view=rev
Log:
Did the updated related to strdup

Modified:
    webservices/axis2/trunk/c/modules/core/description/src/handler_desc.c
    webservices/axis2/trunk/c/modules/core/description/src/operation.c
    webservices/axis2/trunk/c/modules/core/description/src/param_container.c
    webservices/axis2/trunk/c/modules/core/description/src/phase_rule.c
    webservices/axis2/trunk/c/modules/core/description/src/svc.c
    webservices/axis2/trunk/c/modules/core/description/src/svc_grp.c
    webservices/axis2/trunk/c/modules/core/engine/src/engine_config.c

Modified: webservices/axis2/trunk/c/modules/core/description/src/handler_desc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/handler_desc.c?rev=331941&r1=331940&r2=331941&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/handler_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/handler_desc.c Tue Nov  8 19:53:18
2005
@@ -305,7 +305,7 @@
     
     if (class_name)
     {
-        handler_desc_impl->class_name = axis2_strdup(class_name);
+        handler_desc_impl->class_name = AXIS2_STRDUP(class_name, env);
         if (!handler_desc_impl->class_name)
         {
             AXIS2_ERROR_SET_ERROR_NUMBER((*env)->error, AXIS2_ERROR_NO_MEMORY);

Modified: webservices/axis2/trunk/c/modules/core/description/src/operation.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/operation.c?rev=331941&r1=331940&r2=331941&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/operation.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/operation.c Tue Nov  8 19:53:18
2005
@@ -221,7 +221,7 @@
     AXIS2_PARAM_CHECK((*env)->error, AXIS2_INTF_TO_IMPL(operation)->param_container,

         AXIS2_FALSE);
 	
-	axis2_char_t *tempname = axis2_strdup(name);
+	axis2_char_t *tempname = AXIS2_STRDUP(name, env);
 	if(NULL == tempname)
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FALSE);
 		
@@ -251,7 +251,7 @@
     AXIS2_PARAM_CHECK((*env)->error, AXIS2_INTF_TO_IMPL(operation)->param_container,

         AXIS2_FALSE);
 	
-	axis2_char_t *tempname = axis2_strdup(param_name);
+	axis2_char_t *tempname = AXIS2_STRDUP(param_name, env);
 	if(NULL == tempname)
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FALSE); 
 		
@@ -294,7 +294,7 @@
 		                                    axis2_char_t *pattern)
 {
     AXIS2_FUNC_PARAM_CHECK(operation, env, AXIS2_FAILURE);
-	AXIS2_INTF_TO_IMPL(operation)->msg_exchange_pattern = axis2_strdup(pattern);
+	AXIS2_INTF_TO_IMPL(operation)->msg_exchange_pattern = AXIS2_STRDUP(pattern, env);
 	if(NULL == AXIS2_INTF_TO_IMPL(operation)->msg_exchange_pattern)
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
 		

Modified: webservices/axis2/trunk/c/modules/core/description/src/param_container.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/param_container.c?rev=331941&r1=331940&r2=331941&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/param_container.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/param_container.c Tue Nov  8 19:53:18
2005
@@ -139,7 +139,7 @@
 	AXIS2_FUNC_PARAM_CHECK(param_container, env, NULL);
 	
 	return (axis2_param_t *)(axis2_hash_get (AXIS2_INTF_TO_IMPL(param_container)->
-		params, axis2_strdup(name), AXIS2_HASH_KEY_STRING));
+		params, AXIS2_STRDUP(name, env), AXIS2_HASH_KEY_STRING));
 }
 
 axis2_hash_t * AXIS2_CALL 
@@ -160,7 +160,7 @@
 	
 	axis2_param_t *param = (axis2_param_t *)
 		(axis2_hash_get (AXIS2_INTF_TO_IMPL(param_container)->params
-			, axis2_strdup(param_name), AXIS2_HASH_KEY_STRING));
+			, AXIS2_STRDUP(param_name, env), AXIS2_HASH_KEY_STRING));
 	
     AXIS2_PARAM_CHECK((*env)->error, param, AXIS2_FAILURE);
 	

Modified: webservices/axis2/trunk/c/modules/core/description/src/phase_rule.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/phase_rule.c?rev=331941&r1=331940&r2=331941&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/phase_rule.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/phase_rule.c Tue Nov  8 19:53:18
2005
@@ -85,7 +85,7 @@
 	
 	if (name)
 	{
-		phase_rule_impl->name = axis2_strdup(name);
+		phase_rule_impl->name = AXIS2_STRDUP(name, env);
 	}
     
     /* initialize operations */
@@ -138,7 +138,7 @@
     
     if (before)
     {
-        phase_rule_impl->before  = axis2_strdup(before);
+        phase_rule_impl->before  = AXIS2_STRDUP(before, env);
         if (!phase_rule_impl->before)
         {
             AXIS2_ERROR_SET_ERROR_NUMBER((*env)->error, AXIS2_ERROR_NO_MEMORY);
@@ -173,7 +173,7 @@
     
     if (after)
     {
-        phase_rule_impl->after  = axis2_strdup(after);
+        phase_rule_impl->after  = AXIS2_STRDUP(after, env);
         if (!phase_rule_impl->after)
         {
             AXIS2_ERROR_SET_ERROR_NUMBER((*env)->error, AXIS2_ERROR_NO_MEMORY);
@@ -208,7 +208,7 @@
     
     if (name)
     {
-        phase_rule_impl->name  = axis2_strdup(name);
+        phase_rule_impl->name  = AXIS2_STRDUP(name, env);
         if (!phase_rule_impl->name)
         {
             AXIS2_ERROR_SET_ERROR_NUMBER((*env)->error, AXIS2_ERROR_NO_MEMORY);

Modified: webservices/axis2/trunk/c/modules/core/description/src/svc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/svc.c?rev=331941&r1=331940&r2=331941&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/svc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/svc.c Tue Nov  8 19:53:18 2005
@@ -221,7 +221,7 @@
 {
     AXIS2_FUNC_PARAM_CHECK(svc, env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, name, NULL);
-	axis2_char_t *temp_name = axis2_strdup(name);
+	axis2_char_t *temp_name = AXIS2_STRDUP(name, env);
     AXIS2_PARAM_CHECK((*env)->error, temp_name, NULL); 
     
 	return (struct axis2_operation_s *) (axis2_hash_get 
@@ -302,7 +302,7 @@
             AXIS2_ERROR_INVALID_STATE_PARAM_CONTAINER, AXIS2_FAILURE);
 	}
     
-	axis2_char_t *tempname = axis2_strdup(name);
+	axis2_char_t *tempname = AXIS2_STRDUP(name, env);
 	if(NULL == tempname)
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INVALID_NULL_PARAM,
         AXIS2_FAILURE);
@@ -335,7 +335,7 @@
             AXIS2_ERROR_INVALID_STATE_PARAM_CONTAINER, AXIS2_FALSE);
 	}
 	
-	axis2_char_t *tempname = axis2_strdup(param_name);
+	axis2_char_t *tempname = AXIS2_STRDUP(param_name, env);
 	if(NULL == tempname)
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INVALID_NULL_PARAM,
         AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/description/src/svc_grp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/svc_grp.c?rev=331941&r1=331940&r2=331941&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/svc_grp.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/svc_grp.c Tue Nov  8 19:53:18 2005
@@ -173,7 +173,7 @@
 {
     AXIS2_FUNC_PARAM_CHECK(svc_grp, env, AXIS2_FAILURE);
 	
-	axis2_char_t *tempname = axis2_strdup(name);
+	axis2_char_t *tempname = AXIS2_STRDUP(name, env);
     if(NULL == tempname)
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
 	
@@ -268,7 +268,7 @@
 	    AXIS2_ERROR_SET((*env)->error
         , AXIS2_ERROR_INVALID_STATE_PARAM_CONTAINER, NULL);
     
-	axis2_char_t *tempname = axis2_strdup(name);
+	axis2_char_t *tempname = AXIS2_STRDUP(name, env);
     
 	if(NULL == tempname)
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FALSE);
@@ -301,7 +301,7 @@
 	    AXIS2_ERROR_SET((*env)->error
         , AXIS2_ERROR_INVALID_STATE_PARAM_CONTAINER, AXIS2_FALSE);
 	
-	axis2_char_t *tempname = axis2_strdup(param_name);
+	axis2_char_t *tempname = AXIS2_STRDUP(param_name, env);
 	if(NULL == tempname)
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FALSE);
 	

Modified: webservices/axis2/trunk/c/modules/core/engine/src/engine_config.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/src/engine_config.c?rev=331941&r1=331940&r2=331941&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/src/engine_config.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/src/engine_config.c Tue Nov  8 19:53:18
2005
@@ -262,7 +262,7 @@
                 const axis2_char_t *svc_name, 
                 axis2_char_t **svc_name_st)
 {
-	axis2_char_t *svc_name_temp = axis2_strdup(svc_name);
+	axis2_char_t *svc_name_temp = AXIS2_STRDUP(svc_name, env);
 	if(!svc_name_st)
     {
         return AXIS2_ERROR_INVALID_NULL_PARAM;



Mime
View raw message