Author: shankar
Date: Wed Feb 24 05:30:01 2010
New Revision: 915678

URL: http://svn.apache.org/viewvc?rev=915678&view=rev
Log:
changing strcasecmp to axutil_strcasecmp. Check AXIS2C-924 for more details

Modified:
    axis/axis2/c/core/trunk/build.sh
    
axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/apache2_worker.c
    axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/mod_axis2.c

Modified: axis/axis2/c/core/trunk/build.sh
URL: 
http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/build.sh?rev=915678&r1=915677&r2=915678&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/build.sh (original)
+++ axis/axis2/c/core/trunk/build.sh Wed Feb 24 05:30:01 2010
@@ -7,7 +7,7 @@
 
 echo "AXIS2C_HOME = ${AXIS2C_HOME}"
 
-sh configure --prefix=${AXIS2C_HOME} --enable-tests=yes
+sh configure --prefix=${AXIS2C_HOME} --enable-tests=yes 
--with-apache2=/usr/include/httpd --with-apr=/usr/include/apr-1
 make -j 10 
 make install
 

Modified: 
axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/apache2_worker.c
URL: 
http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/apache2_worker.c?rev=915678&r1=915677&r2=915678&view=diff
==============================================================================
--- 
axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/apache2_worker.c 
(original)
+++ 
axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/apache2_worker.c 
Wed Feb 24 05:30:01 2010
@@ -530,28 +530,28 @@
                             i));
                         temp += strlen(temp);
                         /* Conditions below is to assist down-stream modules */
-                        if(!strcasecmp(AXIS2_HTTP_PUT, (axis2_char_t 
*)axutil_array_list_get(
+                        if(!axutil_strcasecmp(AXIS2_HTTP_PUT, (axis2_char_t 
*)axutil_array_list_get(
                             method_list, env, i)))
                         {
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_PUT;
                         }
-                        else if(!strcasecmp(AXIS2_HTTP_POST, (axis2_char_t 
*)axutil_array_list_get(
+                        else if(!axutil_strcasecmp(AXIS2_HTTP_POST, 
(axis2_char_t *)axutil_array_list_get(
                             method_list, env, i)))
                         {
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_POST;
                         }
-                        else if(!strcasecmp(AXIS2_HTTP_GET, (axis2_char_t 
*)axutil_array_list_get(
+                        else if(!axutil_strcasecmp(AXIS2_HTTP_GET, 
(axis2_char_t *)axutil_array_list_get(
                             method_list, env, i)))
                         {
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_GET;
                         }
-                        else if(!strcasecmp(AXIS2_HTTP_HEAD, (axis2_char_t 
*)axutil_array_list_get(
+                        else if(!axutil_strcasecmp(AXIS2_HTTP_HEAD, 
(axis2_char_t *)axutil_array_list_get(
                             method_list, env, i)))
                         {
                             /* Apache Can't differentiate between HEAD and GET 
*/
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_GET;
                         }
-                        else if(!strcasecmp(AXIS2_HTTP_DELETE,
+                        else if(!axutil_strcasecmp(AXIS2_HTTP_DELETE,
                             (axis2_char_t *)axutil_array_list_get(method_list, 
env, i)))
                         {
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_DELETE;
@@ -677,28 +677,28 @@
                             i));
                         temp += strlen(temp);
                         /* Conditions below is to assist down-stream modules */
-                        if(!strcasecmp(AXIS2_HTTP_PUT, (axis2_char_t 
*)axutil_array_list_get(
+                        if(!axutil_strcasecmp(AXIS2_HTTP_PUT, (axis2_char_t 
*)axutil_array_list_get(
                             method_list, env, i)))
                         {
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_PUT;
                         }
-                        else if(!strcasecmp(AXIS2_HTTP_POST, (axis2_char_t 
*)axutil_array_list_get(
+                        else if(!axutil_strcasecmp(AXIS2_HTTP_POST, 
(axis2_char_t *)axutil_array_list_get(
                             method_list, env, i)))
                         {
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_POST;
                         }
-                        else if(!strcasecmp(AXIS2_HTTP_GET, (axis2_char_t 
*)axutil_array_list_get(
+                        else if(!axutil_strcasecmp(AXIS2_HTTP_GET, 
(axis2_char_t *)axutil_array_list_get(
                             method_list, env, i)))
                         {
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_GET;
                         }
-                        else if(!strcasecmp(AXIS2_HTTP_HEAD, (axis2_char_t 
*)axutil_array_list_get(
+                        else if(!axutil_strcasecmp(AXIS2_HTTP_HEAD, 
(axis2_char_t *)axutil_array_list_get(
                             method_list, env, i)))
                         {
                             /* Apache Can't differentiate between HEAD and GET 
*/
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_GET;
                         }
-                        else if(!strcasecmp(AXIS2_HTTP_DELETE,
+                        else if(!axutil_strcasecmp(AXIS2_HTTP_DELETE,
                             (axis2_char_t *)axutil_array_list_get(method_list, 
env, i)))
                         {
                             request->allowed_methods->method_mask |= 
AP_METHOD_BIT << M_DELETE;

Modified: 
axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/mod_axis2.c
URL: 
http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/mod_axis2.c?rev=915678&r1=915677&r2=915678&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/mod_axis2.c 
(original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/server/apache2/mod_axis2.c 
Wed Feb 24 05:30:01 2010
@@ -260,31 +260,31 @@
     str = ap_getword_conf(cmd->pool, &arg);
     if(str)
     {
-        if(!strcasecmp(str, "crit"))
+        if(!axutil_strcasecmp(str, "crit"))
         {
             level = AXIS2_LOG_LEVEL_CRITICAL;
         }
-        else if(!strcasecmp(str, "error"))
+        else if(!axutil_strcasecmp(str, "error"))
         {
             level = AXIS2_LOG_LEVEL_ERROR;
         }
-        else if(!strcasecmp(str, "warn"))
+        else if(!axutil_strcasecmp(str, "warn"))
         {
             level = AXIS2_LOG_LEVEL_WARNING;
         }
-        else if(!strcasecmp(str, "info"))
+        else if(!axutil_strcasecmp(str, "info"))
         {
             level = AXIS2_LOG_LEVEL_INFO;
         }
-        else if(!strcasecmp(str, "debug"))
+        else if(!axutil_strcasecmp(str, "debug"))
         {
             level = AXIS2_LOG_LEVEL_DEBUG;
         }
-        else if(!strcasecmp(str, "user"))
+        else if(!axutil_strcasecmp(str, "user"))
         {
             level = AXIS2_LOG_LEVEL_USER;
         }
-        else if(!strcasecmp(str, "trace"))
+        else if(!axutil_strcasecmp(str, "trace"))
         {
             level = AXIS2_LOG_LEVEL_TRACE;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to