Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2000:
[Freeciv-Dev] Re: [FreeCiv-Cvs] jjm: Changed to use the system's FD_ZERO
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] jjm: Changed to use the system's FD_ZERO

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] jjm: Changed to use the system's FD_ZERO if it exist...
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Fri, 23 Jun 2000 16:46:32 -0400

At 2000/06/14 11:21 , freeciv@xxxxxxxxxxxxxxxxxxx wrote:
>This is an automated notification of a change to freeciv cvs, 
>on Wed Jun 14 08:16:40 PDT 2000 = Wed Jun 14 15:16:40 2000 (GMT)
>by Jeff Mallatt <jjm@xxxxxxxxxxxx>
>
>---- Files affected:
>
>freeciv/common packets.c support.h
>freeciv/server sernet.c
>
>---- Log message:
>
>Changed to use the system's FD_ZERO if it exists; fallback to the "memset"
>version if not.
>Patch submitted by Dan Gohman <gohmandj@xxxxxxxxxxx>.

Oops.  I found a platform on which this doesn't compile cleanly.

Attached is a patch which tries to fix this problem.  It adds a new module,
./common/netintf.[hc], to hold support for incompatible network interfaces.

(You'll need to run automake to test this patch.)

It does at least compile cleanly on both platforms I've now tested.

Attachment: fix-FD_ZERO-1.diff
Description: Text document

jjm

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: [FreeCiv-Cvs] jjm: Changed to use the system's FD_ZERO if it exist..., Jeff Mallatt <=