linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #03611
[Bug 538478] Re: Support for overriding automatic path configuration
Util::initialize() is not called in dcpp::startup() in latest dcplusplus
bzr code. You are probably not using the latest dcpp core. You need to
call it yourself from your main class. You can see how to utilize it
here:
http://bazaar.launchpad.net/~linuxdcpp-
team/linuxdcpp/trunk/view/head:/linux/wulfor.cc#L166
--
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
https://bugs.launchpad.net/bugs/538478
Title:
Support for overriding automatic path configuration
Status in DC++:
Fix Released
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