URL:
<http://gna.org/patch/?3464>
Summary: Make it possible to use database.lua from srcdir in
--enable-debug builds
Project: Freeciv
Submitted by: cazfi
Submitted on: Mon 30 Jul 2012 06:52:48 PM EEST
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
If there's no outcry against, I'll look in to implenting $subject.
Though srcdir/data is one of freeciv datadirs, it's much safer to look
explicitly from it than the old, now obsoleted, method of looking from *any*
datadir. Looking directly from srcdir/data means that database.lua installed
(possibly by malicious intent) to higher priority datadir will not be used.
freeciv-modpack will not install anything to srcir/data, but to user's
homedir. There *is* the possibility that someone manually unzips modpack with
modified database.lua to srcdir/data. Anyway, we already accept that
--enable-debug produces builds making freeciv developer's life easier at the
cost of less security (those running --enable-debug builds are expected to
know what they do)
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3464>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev