← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 311818] Re: case-sensitivity in Unix systems

 

That doesn't really explain the impact of allowing case sensitive files
to be shared for platforms that support it (which is nearly every
platform except Windows). As Francois mentioned, it causes confusion
when users share a file but it doesn't show up in the share.

-- 
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.