linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01781
[Bug 311818] Re: case-sensitivity in Unix systems
I realize that the spec is clear on this subject, but I do not see that
'fixing' this issue would actually break the intention of the spec. It
does however introduce the need in both win and linux client to be able
to download and handle files with same name and path at the download
location. Preferably by allowing the client to auto rename files to
solve name conflicts (this would at the same time solve issues with
incompatible file names between os:es and/or code-pages).
When the issue of virtual folders were introduced the possible name
conflicts issue where discussed and the proposed solution there was
quite simple, as long as the files have different TTH, show and share
them both, if they have same name and TTH, choose one and show/share
that file. I don't see why the issue covered by this bug report could
not be handled similarly?
1d
--
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.