You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by da...@apache.org on 2007/06/27 01:47:46 UTC

svn commit: r550989 - in /apr/apr/branches/1.2.x: CHANGES build/apr_hints.m4

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