Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2001:
[Freeciv-Dev] Re: another simple server/stdinhand.c patch
Home

[Freeciv-Dev] Re: another simple server/stdinhand.c patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Reinier Post <rp@xxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: another simple server/stdinhand.c patch
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Fri, 27 Jul 2001 01:55:36 +0200

[discussion moved to freeciv-dev]

On Thu, 26 Jul 2001, rp@xxxxxxxxxx wrote:
> This one removes some hardcoded uses of 512 to mean the length
> of the server command line buffer.

That's a good idea.  However, I think that MAX_LEN_CONSOLE should
include the terminating NUL since the other MAX_LEN_* constants are
defined like that.  Secondly, some of the places where you put
MAX_LEN_CONSOLE used to have 512, not 511 there before.  Are you sure
that's what you want?

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Yow!  We're going to a new disco!


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