linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01803
[Bug 311818] Re: case-sensitivity in Unix systems
Any patches supporting renaming will gladly be accepted...assuming they
handle the virtual directory duplicate filename as well. If the files
share content (TTH), I think only one of them needs to be visible,
preferably a deterministic choice between the offered names (now it's
most probably random because hash maps are involved if I remember things
correctly...)
--
case-sensitivity in Unix systems
https://bugs.launchpad.net/bugs/311818
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
Status in DC++: In Progress
Status in Linux DC++: Confirmed
Bug description:
Unix systems have case-sensitive file-systems. The core however converts all file and directory-names to lower case. Which gives problems if files are shared with the same text and different cases.
example:
In the share there's a file fubar.txt and a file Fubar.txt. Then these two files will be hashed every time dc is started.
I don't know why all filenames are converted to lower case for Windows, but for other OS's it's not wanted. So I've added a possible fix which checks for OS.