[Freeciv-Dev] Recent patch problem
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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 *
************************************************************************
- [Freeciv-Dev] Recent patch problem,
Dirk Stoecker <=
|
|