← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 538478] Re: Support for overriding automatic path configuration

 

** Branch linked: lp:dcplusplus

-- 
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++: Fix Committed
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