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 du...@apache.org on 2007/11/19 12:07:34 UTC

svn commit: r596270 - in /webservices/axis2/trunk/c: axiom/src/attachments/data_handler.c include/axis2_conf.h src/core/addr/any_content_type.c src/core/transport/http/server/simple_axis2_server/http_server_main.c

Author: dushshantha
Date: Mon Nov 19 03:07:32 2007
New Revision: 596270

URL: http://svn.apache.org/viewvc?rev=596270&view=rev
Log:
fixed windows build break

Modified:
    webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c
    webservices/axis2/trunk/c/include/axis2_conf.h
    webservices/axis2/trunk/c/src/core/addr/any_content_type.c
    webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c

Modified: webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c?rev=596270&r1=596269&r2=596270&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c Mon Nov 19 03:07:32 2007
@@ -160,6 +160,7 @@
         int temp_byte_stream_size = 0;
         int read_stream_size = 0;
         int count = 0;
+		struct stat stat_p;
 
         f = fopen(data_handler->file_name, "rb");
         if (!f)
@@ -170,7 +171,6 @@
             return AXIS2_FAILURE;
         }
 
-        struct stat stat_p;
         if (-1 == stat(data_handler->file_name, &stat_p))
         {
 	    fclose(f);

Modified: webservices/axis2/trunk/c/include/axis2_conf.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_conf.h?rev=596270&r1=596269&r2=596270&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_conf.h (original)
+++ webservices/axis2/trunk/c/include/axis2_conf.h Mon Nov 19 03:07:32 2007
@@ -761,12 +761,12 @@
 	 * set a flag to mark conf created by axis2.xml
 	 */
 	AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axis2_conf_get_enable_axis2_flag(
+    axis2_conf_get_axis2_flag(
         axis2_conf_t * conf,
         const axutil_env_t * env);
 
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_conf_set_enable_axis2_flag(
+    axis2_conf_set_axis2_flag(
         axis2_conf_t * conf,
         const axutil_env_t * env,
         axis2_bool_t axis2_flag);

Modified: webservices/axis2/trunk/c/src/core/addr/any_content_type.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/addr/any_content_type.c?rev=596270&r1=596269&r2=596270&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/addr/any_content_type.c (original)
+++ webservices/axis2/trunk/c/src/core/addr/any_content_type.c Mon Nov 19 03:07:32 2007
@@ -63,6 +63,7 @@
     const axutil_qname_t * qname,
     const axis2_char_t * value)
 {
+	axis2_char_t *temp = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
     if (any_content_type->value_map)
@@ -72,7 +73,7 @@
         name = axutil_qname_to_string((axutil_qname_t *) qname, env);
         axutil_hash_set(any_content_type->value_map, name,
                         AXIS2_HASH_KEY_STRING, value);
-        axis2_char_t *temp = NULL;
+        
         temp = axutil_hash_get(any_content_type->value_map, name,
                                AXIS2_HASH_KEY_STRING);
         if (temp)

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c?rev=596270&r1=596269&r2=596270&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c Mon Nov 19 03:07:32 2007
@@ -28,6 +28,7 @@
 #include <ctype.h>
 #include <axiom_xml_reader.h>
 #include <axutil_version.h>
+#include <axutil_file_handler.h>
 
 axutil_env_t *system_env = NULL;
 axis2_transport_receiver_t *server = NULL;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org