[Freeciv-Dev] Re: Recent patch problem
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Dirk Stoecker <stoecker@xxxxxxxxxxxxxxxxxxxxx> writes:
> 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
PATH_MAX is posix, sorry.
I think the best place to put a replacement would be
e.g. amiga/config.h or config.mac.h . That way, people will have to
look it up and come up with the correct answer.
--
Big Gaute (not to be confused with LG)
With YOU, I can be MYSELF.. We don't NEED Dan Rather..
|
|