From dev-return-18338-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Fri Apr 27 14:37:40 2007 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 17249 invoked from network); 27 Apr 2007 14:37:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2007 14:37:36 -0000 Received: (qmail 44473 invoked by uid 500); 27 Apr 2007 14:37:35 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 44435 invoked by uid 500); 27 Apr 2007 14:37:35 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 44417 invoked by uid 99); 27 Apr 2007 14:37:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 07:37:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [65.99.219.155] (HELO haxent.com) (65.99.219.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 07:37:25 -0700 Received: from karmic (unknown [201.21.180.98]) by haxent.com (Postfix) with ESMTP id 82734493A1 for ; Fri, 27 Apr 2007 11:37:04 -0300 (BRT) Received: by karmic (Postfix, from userid 1000) id 443622AC58A; Fri, 27 Apr 2007 11:36:47 -0300 (BRT) Message-Id: <20070427143647.042934000@haxent.com.br> References: <20070427142918.108531000@haxent.com.br> User-Agent: quilt/0.45-1 Date: Fri, 27 Apr 2007 11:29:21 -0300 From: Davi Arnaut To: dev@apr.apache.org Subject: [patch 3/9] change unknown macro Content-Disposition: inline; filename=apr-vformatter-voidp-quad.patch X-Virus-Checked: Checked by ClamAV on apache.org APR_VOID_P_IS_QUAD is not defined anywhere and the usual way is using APR_SIZEOF_VOIDP. PR 40758. --- srclib/apr/strings/apr_snprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: 2.2.x/srclib/apr/strings/apr_snprintf.c =================================================================== --- 2.2.x.orig/srclib/apr/strings/apr_snprintf.c 2007-04-27 11:09:50.000000000 -0300 +++ 2.2.x/srclib/apr/strings/apr_snprintf.c 2007-04-27 11:09:50.000000000 -0300 @@ -1104,7 +1104,7 @@ * don't handle "%p". */ case 'p': -#ifdef APR_VOID_P_IS_QUAD +#if APR_SIZEOF_VOIDP == 8 if (sizeof(void *) <= sizeof(u_widest_int)) { ui_quad = (u_widest_int) va_arg(ap, void *); s = conv_p2_quad(ui_quad, 4, 'x', --