linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01774
[Bug 311818] Re: case-sensitivity in Unix systems
It's doubly confusing. When you have foo.txt and FOO.txt, it's not just
that the one is missing. It's also confusing because one day only
foo.txt will show up in the file list, and a few days later only FOO.txt
will show up. It seems to be quite random.
FYI, I wrote a utility that writes out a weekly report of new files
added on our 16TB (and growing) share. With such a large share, it's
impossible just to browse around to find new files. With this case
sensitivity issue I keep picking up "new files", e.g. FOO.txt because in
the previous week only foo.txt was in the file list.
--
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.