linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01778
[Bug 311818] Re: case-sensitivity in Unix systems
If you would share file's with the same case insensitive name, someone
(on windows) downloading both files, would get an error.
The problem basically is with windows. Other file systems are case
sensitive. So we need a solution for windows. How does the windows
version have to handle case insensitive equal names?
Until the final solution, I suppose to commit the latest patch. At the moment case insensitive equal names are handled like this:
On file system:
- FOO.bar with TTH: 111
- foo.bar with TTH: 222
Will result in share:
- FOO.bar with TTH: 222
And it will hash both file's every time linuxdcpp starts.
--
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.