On Thu, 20 Dec 2001 [EMAIL PROTECTED] wrote:

>         NET_SIZE_T l;
> 
> NET_SIZE_T is effectively size_t for all SVR4 systems. It's hard-coded
> for other platforms in src/include/ap_config.h.

(In short, Apache decided this (void *) issue was strange too.)

I'd suggest changing the "can't determine" default to size_t in this
case. I can't think of another platform that does this sort of
strangeness.

So the test looks like this in configure.in: (I'm not going to commit to
CVS now, I'm
going to sleep.)

...
 extern "C" int getpeername(int, $sock_t *, $getpeername_length_t *);
 $sock_t s;  $getpeername_length_t l; ],
    [ getpeername(0, &s, &l); ],
    [ac_found=yes ; break 2],[ac_found=no])
  done
done

if test "$ac_found" = no
then
  AC_MSG_WARN([can't determine, using size_t])
  AC_DEFINE_UNQUOTED(GETPEERNAME_LENGTH_T, size_t)
else


--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to