Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] PATH_SEPARATOR
Home

[Freeciv-Dev] PATH_SEPARATOR

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "freeciv-dev@xxxxxxxxxxx" <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] PATH_SEPARATOR
From: "Alexander Mai" <st002279@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jan 2002 11:55:40 +0100 (CET)
Reply-to: "Alexander Mai" <st002279@xxxxxxxxxxxxxxxxxxxxxx>

Hello,

I have a question regarding PATH_SEPARATOR:
The ChangeLog says:
        * acconfig.h, config.h.in, common/shared.c: Allow manual config.h
        to define PATH_SEPARATOR to specify the separater to be used in
        the freeciv data path (FREECIV_PATH).  If this is not defined (and
        configure does not do so), falls back to using colon. 

Shouldn't one have either a configure check or explicit 
catches for systems which don't use ':'?

shared.c could look like:

/* If no path separator is defined use colon */
#ifndef PATH_SEPARATOR
#ifndef __EMX__
#define PATH_SEPARATOR ";"
#else
#define PATH_SEPARATOR ":"
#endif
#endif


BTW, the ChangeLog is quite old, it is not updated regularly 
in CVS?


---
Alexander Mai
st002279@xxxxxxxxxxxxxxxxxxxxxx




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