linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #00529
[Bug 538478] Re: Support for overriding automatic path configuration
** Also affects: linuxdcpp
Importance: Undecided
Status: New
** Changed in: linuxdcpp
Importance: Undecided => Medium
** Changed in: linuxdcpp
Status: New => Confirmed
** Tags added: core
--
Support for overriding automatic path configuration
https://bugs.launchpad.net/bugs/538478
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
Status in DC++: New
Status in Linux DC++: Confirmed
Bug description:
There's at least one case where the automatic path setting done by Util::initialize isn't desirable. That is when user want's to run multiple instances of (Linux)DC++ or temporarily wants a different config for testing etc.
The patch adds optional map parameter for Util::initialize from which the non-empty paths are used instead of autodetected ones. Also provides protection against dcpp::startup for resetting explicitly given values (which apparently isn't really needed with 7.60 core since startup isn't doing it anymore).
Patch only affects non-_WIN32 and common blocks.
--RZ