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") * FREECIV_SCENARIO_PATH (default ".:data/scenario:~/.freeciv/scenarios:$datadir/freeciv/scenario") 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 freed. 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: <http://gna.org/bugs/?14624> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev