Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 51277 invoked from network); 20 Jun 2007 09:04:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 09:04:46 -0000 Received: (qmail 77321 invoked by uid 500); 20 Jun 2007 09:04:49 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 77067 invoked by uid 500); 20 Jun 2007 09:04:48 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 77056 invoked by uid 500); 20 Jun 2007 09:04:48 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 77053 invoked by uid 99); 20 Jun 2007 09:04:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 02:04:48 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 02:04:43 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 438F21A981A; Wed, 20 Jun 2007 02:04:23 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r549006 - in /webservices/axis2/trunk/c: axiom/test/om/test_om.c build.sh guththila/src/guththila_xml_pull_parser.c src/core/transport/http/receiver/http_svr_thread.c util/src/thread_pool.c Date: Wed, 20 Jun 2007 09:04:23 -0000 To: axis2-cvs@ws.apache.org From: dinesh@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070620090423.438F21A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dinesh Date: Wed Jun 20 02:04:22 2007 New Revision: 549006 URL: http://svn.apache.org/viewvc?view=rev&rev=549006 Log: fixed guththila memory reader bug Modified: webservices/axis2/trunk/c/axiom/test/om/test_om.c webservices/axis2/trunk/c/build.sh webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c webservices/axis2/trunk/c/src/core/transport/http/receiver/http_svr_thread.c webservices/axis2/trunk/c/util/src/thread_pool.c Modified: webservices/axis2/trunk/c/axiom/test/om/test_om.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/test/om/test_om.c?view=diff&rev=549006&r1=549005&r2=549006 ============================================================================== --- webservices/axis2/trunk/c/axiom/test/om/test_om.c (original) +++ webservices/axis2/trunk/c/axiom/test/om/test_om.c Wed Jun 20 02:04:22 2007 @@ -74,13 +74,16 @@ printf("\nstart test_om_build\n"); - f = fopen(filename, "r"); + /*f = fopen(filename, "r"); if (!f) return -1; - + */ /** create pull parser */ - reader = axiom_xml_reader_create_for_io(environment, read_input, NULL , NULL, NULL); + /*reader = axiom_xml_reader_create_for_io(environment, read_input, NULL , NULL, NULL);*/ + buffer = "Hello" ; + reader = axiom_xml_reader_create_for_memory(environment, + (void*)buffer, axutil_strlen(buffer), "utf-8", AXIS2_XML_PARSER_TYPE_BUFFER); if (!reader) { printf("ERROR CREATING PULLPARSER"); @@ -190,7 +193,8 @@ /* if (buffer) */ /* AXIS2_FREE(environment->allocator, buffer); */ printf("\nend test_om_build\n"); - fclose(f); + if (f) + fclose(f); return 0; } Modified: webservices/axis2/trunk/c/build.sh URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/build.sh?view=diff&rev=549006&r1=549005&r2=549006 ============================================================================== --- webservices/axis2/trunk/c/build.sh (original) +++ webservices/axis2/trunk/c/build.sh Wed Jun 20 02:04:22 2007 @@ -7,7 +7,7 @@ echo "AXIS2C_HOME = ${AXIS2C_HOME}" -sh configure --prefix=${AXIS2C_HOME} +sh configure --prefix=${AXIS2C_HOME} --enable-guththila make make install Modified: webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c?view=diff&rev=549006&r1=549005&r2=549006 ============================================================================== --- webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c (original) +++ webservices/axis2/trunk/c/guththila/src/guththila_xml_pull_parser.c Wed Jun 20 02:04:22 2007 @@ -21,7 +21,7 @@ guththila_create(axutil_env_t * environment, guththila_reader_t * r) { - int size = 0; + int size = -1; guththila_t *parser = (guththila_t *) AXIS2_MALLOC( environment->allocator, sizeof(guththila_t)); Modified: webservices/axis2/trunk/c/src/core/transport/http/receiver/http_svr_thread.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/receiver/http_svr_thread.c?view=diff&rev=549006&r1=549005&r2=549006 ============================================================================== --- webservices/axis2/trunk/c/src/core/transport/http/receiver/http_svr_thread.c (original) +++ webservices/axis2/trunk/c/src/core/transport/http/receiver/http_svr_thread.c Wed Jun 20 02:04:22 2007 @@ -303,3 +303,4 @@ return NULL; } + Modified: webservices/axis2/trunk/c/util/src/thread_pool.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/thread_pool.c?view=diff&rev=549006&r1=549005&r2=549006 ============================================================================== --- webservices/axis2/trunk/c/util/src/thread_pool.c (original) +++ webservices/axis2/trunk/c/util/src/thread_pool.c Wed Jun 20 02:04:22 2007 @@ -84,6 +84,7 @@ return axutil_thread_join(thd); } + AXIS2_EXTERN axis2_status_t AXIS2_CALL axutil_thread_pool_exit_thread(axutil_thread_pool_t *pool, axutil_thread_t *thd) --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org