You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/09/14 12:33:42 UTC
svn commit: r443307 - in /webservices/axis2/trunk/c:
axiom/src/attachments/data_handler.c util/include/axis2_string.h
util/src/env.c util/src/properties.c
Author: nandika
Date: Thu Sep 14 03:33:39 2006
New Revision: 443307
URL: http://svn.apache.org/viewvc?view=rev&rev=443307
Log:
patch applied , thanks to Manjula
Modified:
webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c
webservices/axis2/trunk/c/util/include/axis2_string.h
webservices/axis2/trunk/c/util/src/env.c
webservices/axis2/trunk/c/util/src/properties.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?view=diff&rev=443307&r1=443306&r2=443307
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c Thu Sep 14 03:33:39 2006
@@ -329,6 +329,7 @@
/*TODO : need to set the correct error code */
return AXIS2_FAILURE;
}
+ fflush(f);
fclose(f);
}
Modified: webservices/axis2/trunk/c/util/include/axis2_string.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axis2_string.h?view=diff&rev=443307&r1=443306&r2=443307
==============================================================================
--- webservices/axis2/trunk/c/util/include/axis2_string.h (original)
+++ webservices/axis2/trunk/c/util/include/axis2_string.h Thu Sep 14 03:33:39 2006
@@ -182,7 +182,7 @@
* @param str string
* @return string with lowercase
*/
- AXIS2_EXTERN axis2_char_t*
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
axis2_string_tolower(
axis2_char_t *str );
@@ -191,7 +191,7 @@
* @param str string
* @return string with uppercase
*/
- AXIS2_EXTERN axis2_char_t*
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
axis2_string_toupper(
axis2_char_t *str );
Modified: webservices/axis2/trunk/c/util/src/env.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/env.c?view=diff&rev=443307&r1=443306&r2=443307
==============================================================================
--- webservices/axis2/trunk/c/util/src/env.c (original)
+++ webservices/axis2/trunk/c/util/src/env.c Thu Sep 14 03:33:39 2006
@@ -120,10 +120,16 @@
if (NULL == log)
+ {
environment->log_enabled = AXIS2_FALSE;
- environment->log_enabled = AXIS2_TRUE;
- environment->log = log;
- environment->thread_pool = NULL;
+ }
+ else
+ {
+ environment->log_enabled = AXIS2_TRUE;
+ environment->log = log;
+ }
+
+ environment->thread_pool = NULL;
return environment;
}
Modified: webservices/axis2/trunk/c/util/src/properties.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/properties.c?view=diff&rev=443307&r1=443306&r2=443307
==============================================================================
--- webservices/axis2/trunk/c/util/src/properties.c (original)
+++ webservices/axis2/trunk/c/util/src/properties.c Thu Sep 14 03:33:39 2006
@@ -237,6 +237,8 @@
const int LINE_MIDWAY= 0;
const int EQUAL_FOUND = 1;
const int LINE_HALFWAY= 2;
+ int status = LINE_STARTED;
+
axis2_char_t *key = NULL;
axis2_hash_t *prop_hash = NULL;
axis2_char_t *buffer = NULL;
@@ -260,7 +262,6 @@
}
- int status = LINE_STARTED;
for (cur =axis2_properties_read_next(buffer); *cur ;
cur = axis2_properties_read_next( ++cur) )
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org