httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@liege.ICS.UCI.EDU>
Subject Re: WWW Form Bug Report: "osf/1 virtualhost support by ip broken" on OSF/1
Date Tue, 12 Nov 1996 18:28:10 GMT
> Well, under bsdi, irix, and linux you can use INADDR_NONE.  Under solaris
> the man page even says the functions (inet_addr, inet_network) return -1
> on error (despite returning unsigned long).  Casting -1 to an unsigned
> long should work on any compiler pretending to be ansi, as should using
> the constant ~0ul.

I like ~0ul -- it matches what I'd expect.  I'll commit that.

.....Roy

Mime
View raw message