← Back to team overview

linuxdcpp-team team mailing list archive

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

 

> Fixed in DC++ 0.780.

Not fixed yet. You code is not working as we need.

Util::initialize() called from dcpp::startup() without parameters
overwrites all previously overriden paths

initDone variable from original patch is not present in your commit. So
all this code is unusable...

-- 
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