apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r267190 - /apr/apr/trunk/build/apr_hints.m4
Date Fri, 02 Sep 2005 12:04:59 GMT
Author: jorton
Date: Fri Sep  2 05:04:57 2005
New Revision: 267190

URL: http://svn.apache.org/viewcvs?rev=267190&view=rev
Log:
* build/apr_hints.m4 (APR_PRELOAD): Disable readdir64_r on Solaris
since the error handling seems to be broken.

Modified:
    apr/apr/trunk/build/apr_hints.m4

Modified: apr/apr/trunk/build/apr_hints.m4
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/build/apr_hints.m4?rev=267190&r1=267189&r2=267190&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_hints.m4 (original)
+++ apr/apr/trunk/build/apr_hints.m4 Fri Sep  2 05:04:57 2005
@@ -232,6 +232,9 @@
     	PLATOSVERS=`echo $host | sed 's/^.*solaris2.//'`
 	APR_ADDTO(CPPFLAGS, [-DSOLARIS2=$PLATOSVERS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT])
         APR_SETIFNULL(apr_lock_method, [USE_FCNTL_SERIALIZE])
+        # readdir64_r error handling seems broken on Solaris (at least
+        # up till 2.8) -- it will return -1 at end-of-directory.
+        APR_SETIFNULL(ac_cv_func_readdir64_r, [no])
 	;;
     *-sunos4*)
 	APR_ADDTO(CPPFLAGS, [-DSUNOS4])



Mime
View raw message