i wrote a mmap/munmap replacement for windows for another project of mine
after i got it working, i realized that ive used gnulib in quite a bit of
things and it kind of sucks that there is no mmap module already. so i looked
at contributing it to gnulib and had some questions regarding
copyri
Simon,
> +/* This function is useful it you create a socket using gnulib's
> + Winsock wrappers but needs to pass on the socket handle to some
> + other library that only accepts sockets. */
> +#if WINDOWS_SOCKETS
> +static inline SOCKET
> +gl_fd_to_handle (int fd)
> +{
> + return _get_osfhan
On Mon, Feb 09, 2009 at 12:42:33AM +0100, Bruno Haible wrote:
> Sylvain Beucler wrote:
> > > > I got confused because `./configure --help` documents
> > > > '--with-libmylib-prefix', but doesn't mention '--with-mylib'.
>
> If you use AC_LIB_LINKFLAGS, there is no --with[out]-mylib option,
> only a
This thread never resulted in a change, but I need one now. I re-read
the earlier discussions, and some points:
1) It is useful if the gl_fd_to_socket function is available on all
systems, to avoid ugly #if's in code that uses it.
Corollary: declaring it in sys/socket.h seems wrong because