Update of bug #14624 (project freeciv):

                  Status:             In Progress => Ready For Test         


Follow-up Comment #4:

The attached patch splits the FREECIV_PATH in many others:

    * FREECIV_DATA_PATH (default ".:data:~/.freeciv/2.3:$datadir/freeciv")
    * FREECIV_SAVE_PATH (default ".:~/.freeciv/saves")

If one of the environment variable is not set, it will use FREECIV_PATH
instead (default ".:data:~/.freeciv:~/.freeciv/2.3:$datadir/freeciv").
Getting the save path or the scenario path from FREECIV_PATH will extend all
dirs with "saves", "scenario" and "scenarios" suffixes.

Renamed the interface of datafile* to fileinfo*. Every of this function takes
as first argument get_data_dirs(), get_save_dirs() or get_scenario_dirs().
Also add constant flag to returned values which shouldn't be modified or

Also updates the man pages.

(file #7181)

Additional Item Attachment:

File name: trunk_data_save_scenario_path2.diff.bz2 Size:13 KB


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to