Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 95145 invoked from network); 26 Jun 2007 23:48:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 23:48:08 -0000 Received: (qmail 34603 invoked by uid 500); 26 Jun 2007 23:48:11 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 34560 invoked by uid 500); 26 Jun 2007 23:48:11 -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 34548 invoked by uid 99); 26 Jun 2007 23:48:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 16:48:11 -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; Tue, 26 Jun 2007 16:48:07 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id F395A1A981A; Tue, 26 Jun 2007 16:47:46 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r550989 - in /apr/apr/branches/1.2.x: CHANGES build/apr_hints.m4 Date: Tue, 26 Jun 2007 23:47:46 -0000 To: commits@apr.apache.org From: davi@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070626234746.F395A1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: davi Date: Tue Jun 26 16:47:46 2007 New Revision: 550989 URL: http://svn.apache.org/viewvc?view=rev&rev=550989 Log: Merge r550877 from trunk: Define the _HPUX_SOURCE feature test macro to obtain maximum functionality. The sendfile function was being used without being declared, because the _XOPEN_SOURCE_EXTENDED macro doesn't bring sendfile (and fixups) into the namespace. Checked and passes sendfile tests on: HP-UX 11i 11.11 PA-RISC 8700 HP-UX 11i v3 Itanium II PR: 42261 Modified: apr/apr/branches/1.2.x/CHANGES apr/apr/branches/1.2.x/build/apr_hints.m4 Modified: apr/apr/branches/1.2.x/CHANGES URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/CHANGES?view=diff&rev=550989&r1=550988&r2=550989 ============================================================================== --- apr/apr/branches/1.2.x/CHANGES (original) +++ apr/apr/branches/1.2.x/CHANGES Tue Jun 26 16:47:46 2007 @@ -1,6 +1,7 @@ Changes for APR 1.2.10 - + *) Define the _HPUX_SOURCE feature test macro to obtain maximum + functionality. PR 42261. [Davi Arnaut] Changes for APR 1.2.9 Modified: apr/apr/branches/1.2.x/build/apr_hints.m4 URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/build/apr_hints.m4?view=diff&rev=550989&r1=550988&r2=550989 ============================================================================== --- apr/apr/branches/1.2.x/build/apr_hints.m4 (original) +++ apr/apr/branches/1.2.x/build/apr_hints.m4 Tue Jun 26 16:47:46 2007 @@ -102,7 +102,7 @@ APR_ADDTO(CPPFLAGS, [-DHIUX]) ;; *-hp-hpux11.*) - APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED]) + APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT -D_HPUX_SOURCE]) ;; *-hp-hpux10.*) case $host in