You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/02/01 17:10:18 UTC
DO NOT REPLY [Bug 16317] -
64 bits build on HP-UX logs all IP addresses as 0.0.0.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16317>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16317
64 bits build on HP-UX logs all IP addresses as 0.0.0.0
------- Additional Comments From madhusudan_mathihalli@hp.com 2003-02-01 16:10 -------
Problem :
socklen_t when compiled using 64-bit flags is 64-bit quantity.
However, some of the networking api's on HP-UX are unable to recognize it as
a 64-bit field, and still expect it to be a 32-bit quantity. Hence, any/all bit-
wise operations on that field fail
Solution :
Define apr_socklen_t as int (force it). I've included a fix for the bug -
please let me know if it resolves your issue, I can submit a patch to the
srclib/apr/configure.in
Fix :
$ diff -u srclib/apr/configure.ORG srclib/apr/configure
--- srclib/apr/configure.ORG Sat Feb 1 07:51:11 2003
+++ srclib/apr/configure Sat Feb 1 07:52:54 2003
@@ -21592,6 +21592,12 @@
socklen_t_value="int"
fi
+case "$host" in
+ *hp-hpux* )
+ socklen_t_value="int"
+ ;;
+esac
+
echo "$as_me:$LINENO: checking size of ssize_t" >&5
echo $ECHO_N "checking size of ssize_t... $ECHO_C" >&6
if test "${ac_cv_sizeof_ssize_t+set}" = set; then
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org