Re: [xml] Compile error libxml2-2.1.1/Solaris

Date view Thread view Subject view Author view

From: David Doolin (doolin@cs.utk.edu)
Date: Wed Jul 05 2000 - 12:45:38 EDT


[]
>Steffen Zahn <Steffen.Zahn@icn.siemens.de> reported the same problem
>and indicated a temporary fix:
>:I fixed it by using size_t instead of socklen_t. The correct
>:solution is probably to detect the existence of socklen_t with configure.
[]
> <sys/socket.h> makes available a type, socklen_t, which is an
> unsigned opaque integral type of length of at least 32 bits. To
> forestall portability problems, it is recommended that applications
> should not use values larger than 232 - 1.
>
> So I have switched back to use a simple int. All this is commited
>in libxml W3C CVS base, and will propagate to future versions.

Just for the record, I changed this to u_int to get the win32 version to
compile.

-dmd

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:19 EDT