apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47662] APR shouldn't rely on build-time results to decide whether to use CLOEXEC or not
Date Mon, 10 Aug 2009 06:33:11 GMT

Bojan Smojver <bojan@rexursive.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Bojan Smojver <bojan@rexursive.com> 2009-08-09 23:33:07 PDT ---
This has been discussed on APR devel list. The portable in APR refers to API,
not the ability to build on one kernel and run on another.

If you know that your target kernel can/cannot use certain functions, use
overrides that you noted in your bug report. Generally speaking, if you set all
of these to no before ./configure:

export apr_cv_epoll_create1=no
export apr_cv_dup3=no
export apr_cv_accept4=no
export apr_cv_sock_cloexec=no

The functions that require a relatively new kernel (>= 2.6.28) will not be used
and APR will work on older and newer kernels.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message