Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 27368 invoked from network); 18 Oct 2007 23:30:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2007 23:30:07 -0000 Received: (qmail 81730 invoked by uid 500); 18 Oct 2007 23:29:55 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 81672 invoked by uid 500); 18 Oct 2007 23:29:55 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 81661 invoked by uid 99); 18 Oct 2007 23:29:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 16:29:55 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 18 Oct 2007 23:30:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 961831A9832; Thu, 18 Oct 2007 16:29:16 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r586177 - /apr/apr-util/trunk/xlate/xlate.c Date: Thu, 18 Oct 2007 23:29:16 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071018232916.961831A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Thu Oct 18 16:29:15 2007 New Revision: 586177 URL: http://svn.apache.org/viewvc?rev=586177&view=rev Log: Fix test crash, anticipate some output buff and no input buff Modified: apr/apr-util/trunk/xlate/xlate.c Modified: apr/apr-util/trunk/xlate/xlate.c URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/xlate/xlate.c?rev=586177&r1=586176&r2=586177&view=diff ============================================================================== --- apr/apr-util/trunk/xlate/xlate.c (original) +++ apr/apr-util/trunk/xlate/xlate.c Thu Oct 18 16:29:15 2007 @@ -325,7 +325,7 @@ /* Sometimes, iconv is not good about setting errno. */ case 0: - if (*inbytes_left) + if (inbytes_left && *inbytes_left) status = APR_INCOMPLETE; break;