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

[Freeciv-Dev] Re: Recent patch problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Dirk Stoecker <stoecker@xxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Recent patch problem
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: 22 Sep 2000 20:04:10 +0200

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..



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