apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathihalli, Madhusudan" <mad...@hp.com>
Subject RE: [PATCH] Recognize apr_socklen_t as 'int' to work correctly on IA64/HP-UX
Date Sun, 21 Mar 2004 01:28:40 GMT

> -----Original Message-----
> From: Joe Orton [mailto:joe@manyfish.co.uk]
[SNIP]
> 
> On Fri, Mar 19, 2004 at 05:40:01PM -0800, Mathihalli, 
> Madhusudan wrote:
> > Hi,
> > 	On HP-UX/IA64 plaforms (11.22, 11.23), the socklen_t is defined
> > 	as size_t. However, things fail in Apache if the default value
> > 	is used. The workaround is to use 'int' as a value for
> > 	apr_socklen_t. I've not yet contacted the networking folks here
> > 	(which I'll do so shortly).
> 
> OK, but why would this be compiler-specific?

Oops.. I just try gcc - as I was  trying to get things working with cc !
Theoritically, the same holds good for gcc also (since socklen_t is defined in socket.h which
is not overridden by gcc)
However, I'll test it and re-send the patch later.

-Madhu

Mime
View raw message