DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38822>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38822 Summary: apache uses apr_socket_sendv without checking for writev on SkyOS Product: Apache httpd-2 Version: 2.2.0 Platform: Other URL: http://www.skyos.org OS/Version: other Status: NEW Severity: normal Priority: P2 Component: All AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] compiling apache on skyos => uses the unix code skyos does not have writev support so anything in #ifdef HAVE_WRITEV will not be available from apr, apr checks for writev. => apr_socket_sendv in srclib/apr/network_io/unix/sendrecv.c is not available => apache uses this function in server/core_filters.c so results in a undefined reference solution: use the beos definition of apr_socket_sendv with ifdef: #ifdef SKYOS /* SkyOS doesn't have writev for sockets so we use the following instead... */ APR_DECLARE(apr_status_t) apr_socket_sendv(apr_socket_t * sock, const struct iovec *vec, apr_int32_t nvec, apr_size_t *len) { *len = vec[0].iov_len; return apr_socket_send(sock, vec[0].iov_base, len); } #endif or a check for writev should be added -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
