[Freeciv-Dev] Re: Winsock patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 2001/02/13 11:50 , Andreas Kemnade wrote:
>Jeff Mallatt writes:
> > At 2001/02/13 10:16 , Andreas Kemnade wrote:
> > >I think we should use the old SOCKET_ZERO_ISNT_STDIN code and move it
> > >to support.c instead of using that fileno() stuff because this code
> > >should work because it is in CVS. (Don't change a running system)
> >
> > My patch did attempt to return (mostly) to using the "old
> > SOCKET_ZERO_ISNT_STDIN" code, moved to support.c. I guess you are
> > suggesting that it go all the way and do the character-by-character input
> > processing, right?
> >
>Yes
This includes both codes, conditionalized by a "#if 0".
It looks like both Mac and BeOS ports use SOCKET_ZERO_ISNT_STDIN. If both
these folks could test both codes and come to some consensus as to which,
if either, works best, we could remove the other...
> > I should have added a configure test for fileno(), but got lazy. I'll do
> > this and post an updated patch.
>The only purpose would be to test this code on linux?
This includes this test. It works, and it does let us test a code-path --
anything that lets a code-path be tested is worth it.
win32-11.diff.gz
Description: Binary data
jjm
- [Freeciv-Dev] Winsock patch, Vasco Alexandre Da Silva Costa, 2001/02/10
- [Freeciv-Dev] Re: Winsock patch, Sebastian Bauer, 2001/02/13
- [Freeciv-Dev] Re: Winsock patch, Dirk Stoecker, 2001/02/14
- [Freeciv-Dev] Re: Winsock patch, Andreas Kemnade, 2001/02/14
- [Freeciv-Dev] Re: Winsock patch, Vasco Alexandre Da Silva Costa, 2001/02/14
|
|