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

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Wed Jul 05 2000 - 15:17:29 EDT


On Wed, Jul 05, 2000 at 12:45:38PM -0400, David Doolin wrote:
>
> []
> >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.

  Right this is a size_t in spirit, it should be unsigned. I will
change this.

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
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