← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 463723] Re: Default download directory missing slash mark.

 

This is in the bzr trunk. Seems like it was such an easy fix even I
managed to create a patch.

Yes, HOME environment variable includes no trailing slash mark. Attached
patch fixes this for me. I assume this is of course where you've been
poking around, too, Razzloss.

** Attachment added: "Fixes missing slash mark in default download directory."
   http://launchpadlibrarian.net/34626778/Util.cpp_homedir_fix.patch

-- 
Default download directory missing slash mark.
https://bugs.launchpad.net/bugs/463723
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:
Upon first launching linuxdcpp without any prior settings, linuxdcpp seems to suggest I should save all new downloads into the folder (replace <user> with a user name):

/home/<user>/Downloads/

which would be fine if it weren't for the fact that the default setting for the download directory is missing the slash mark between "<user>" and "Downloads/", thus making the default download directory:

/home/<user>Downloads/

which does not exist (at least there is no such user on my system). If someone does not change their default setting, they might not get anything downloaded, right?

I've attached a screen shot in case the explanation was unclear. (Notice the cursor between "<user>" and "Downloads" -- I didn't accidentally remove the slash mark :) the cursor just happened to be there.)

I already had a directory called Downloads in my home dir, if that might have anything to do with it.



References