[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] implement full-blown select(2) for winsock
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] implement full-blown select(2) for winsock |
Date: |
Tue, 23 Sep 2008 17:47:13 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Macintosh/20080707) |
> the stdio module [...]
> does not pull in the fopen module, even though the fopen module
> makes fopen function work *the way anyone including stdio.h would
> expect them work*.
I disagree on the "anyone" part. I never missed the fopen module, but
I'm sure everyone who wrote cross-platform socket code did direct some
@#$% at whoever invented Winsock.
(In fact, there are two parts in lib/fopen.c: one is a fix for an
obscure bug in some implementations; the other is a hack that does not
really have anything to do with fopen, and may actually be undesirable
in some circumstances because it impedes access to files named /dev/null
under Windows -- a confusing but legitimate scenario. Note that the
undesirable behavior falls on the user's shoulders, not on the
programmer, hence a big difference with winsock.c).
The case of sys_select is even more special, because the header provides
basically a single function, like poll (where the module includes both a
header and an implementation).
> I hope my thoughts are clearer now. I think your code is great, and I
> will use it in my projects, but my concern is maintaining the separation
> between header-gnulib-modules and function-gnulib-modules.
I understood that, and I appreciate discussion.
Paolo
- [PATCH] implement full-blown select(2) for winsock, Paolo Bonzini, 2008/09/23
- Re: [PATCH] implement full-blown select(2) for winsock, Simon Josefsson, 2008/09/23
- Re: [PATCH] implement full-blown select(2) for winsock, Paolo Bonzini, 2008/09/23
- Re: [PATCH] implement full-blown select(2) for winsock, Simon Josefsson, 2008/09/23
- Re: [PATCH] implement full-blown select(2) for winsock, Paolo Bonzini, 2008/09/23
- Re: [PATCH] implement full-blown select(2) for winsock, Simon Josefsson, 2008/09/23
- Re: [PATCH] implement full-blown select(2) for winsock,
Paolo Bonzini <=
- Re: [PATCH] implement full-blown select(2) for winsock, Simon Josefsson, 2008/09/23
- Re: [PATCH] implement full-blown select(2) for winsock, Paolo Bonzini, 2008/09/23
- Friendlier gnulib-tool error messages with multiple incompatible modules, Derek Price, 2008/09/24
- Re: Friendlier gnulib-tool error messages with multiple incompatible modules, Ralf Wildenhues, 2008/09/25
- Re: Friendlier gnulib-tool error messages with multiple incompatible modules, Derek Price, 2008/09/25
- Re: Friendlier gnulib-tool error messages with multiple incompatible modules, Ralf Wildenhues, 2008/09/25
- Re: Friendlier gnulib-tool error messages with multiple incompatible modules, Derek Price, 2008/09/25
- Re: Friendlier gnulib-tool error messages with multiple incompatible modules, Bruno Haible, 2008/09/25
- Re: Friendlier gnulib-tool error messages with multiple incompatible modules, Derek Price, 2008/09/25