Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Recent patch problem
Home

[Freeciv-Dev] Recent patch problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Recent patch problem
From: Dirk Stoecker <stoecker@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Sep 2000 19:42:41 +0200 (MEST)

Hi,

>Fri Sep 22 00:24:25 PDT 2000  David Pfitzner <dwp@xxxxxxxxxxxxxx>
>
>freeciv/common city.c city.h game.c log.c log.h shared.c shared.h
>freeciv/server cityhand.c ruleset.c
>
> ...
>
>Use PATH_MAX for filename buffers in openload_ruleset_file().
>
>Patch submitted by "Gaute B. Strokkenes" <gs234@xxxxxxxxx>.

Nice, but why is PATH_MAX undefined? Nowhere in the source and nowhere
in ANSI-C includes PATH_MAX exists. It is not enough if it exists for
some Unixoid systems. Maybe an

#ifndef PATH_MAX
#define PATH_MAX 255
#endif

should be added.

Ciao
 ____  _ _  ____  _ _    _ _  ____
|    |  |  |    |  | \  / |  |    | the cool Gremlin from Bischofswerda
|  __   |   ____|  |  \/  |  |    | WWW: http://home.pages.de/~stoecker/
|    |  |  |       |      |  |    | PGP key available on www page.
|____| _|_ |____| _|_    _|_ |____| I hope AMIGA never ends to make fun!

************************************************************************
* snail-mail: Dirk Stoecker              * e-mail:                     *
*             Geschwister-Scholl-Str. 10 * stoecker@xxxxxxxxxxxxxx     *
*             01877 Bischofswerda        * phone:                      *
*             GERMANY                    * GERMANY +49 (0)3594/706666  *
************************************************************************





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