> From: Bruno Haible <[email protected]>
> Cc: Eli Zaretskii <[email protected]>, Keith Marshall 
> <[email protected]>, Rahul Das <[email protected]>
> Date: Tue, 30 Jun 2020 03:07:39 +0200
> 
> >   <sys/socket.h> makes available a type, socklen_t, which is an
> >   unsigned opaque integral type of length of at least 32 bits.
> 
> The page you cite is part of SUSv2. It has been superseded by POSIX,
> first by the 2004 edition:
>   https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html
> and then by the current edition:
>   https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
> 
> Please update your bookmarks.

Right, the "unsigned" part disappeared in the later versions.

> So, gnulib should define socklen_t if and only if the system's header don't.
> The code which does this is in m4/socklen.m4. I'm therefore applying the patch
> below.

Thanks.

Reply via email to