bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] implement full-blown select(2) for winsock


From: Simon Josefsson
Subject: Re: [PATCH] implement full-blown select(2) for winsock
Date: Tue, 23 Sep 2008 16:53:52 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Paolo Bonzini <address@hidden> writes:

>> Compare other header files and system
>> functions for how to do it, e.g., stdio.in.h and fopen: the replacement
>> for fopen isn't pulled in by the stdio-h module normally, but the
>> stdio.in.h code helps the fopen module when in use.
>> 
>> Possibly this argument applies to the winsock.c code as well, but I
>> haven't looked into it.
>
> The difference is that without these fixes, winsock is simply just too
> crippled for the casual Unix programmer.  Providing sys/socket.h and
> sys/select.h without anything like these wrappers was just giving a
> false sense of portability.

I think that is consistent with how gnulib works elsewhere: the header
modules just provides the header file.  They do not provide all the
functions declared by that header.  That is the responsibility of other
modules.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]