linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #00631
[Bug 548743] Re: Share is broken on >= 0.760
Guess for non-win32 there's an easier way to decide if the directory is
hidden or not, just test the first char of the directory name for
period, like in the attached patch (not tested). Any thoughts?
** Patch added: "nixhidden.patch"
http://launchpadlibrarian.net/42205369/nixhidden.patch
--
Share is broken on >= 0.760
https://bugs.launchpad.net/bugs/548743
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
Status in DC++: New
Bug description:
Share doesn't work anymore with Last core on Linux. That is because of new check for hidden files (http://bazaar.launchpad.net/~dcplusplus-team/dcplusplus/trunk/revision/1903#dcpp/ShareManager.cpp and https://bugs.launchpad.net/dcplusplus/+bug/338888)
d_name memeber of dirent struct returns always "." when called on a folder so DirData::isHidden() return always true. That means no folder can be added to share and also current shared folders aren't shared if "Share hidden files" is false.
References