You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2005/09/02 14:04:59 UTC

svn commit: r267190 - /apr/apr/trunk/build/apr_hints.m4

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])