implemented renaming in rev 3156.

because hashed files were previously stored in lower case, i had to
upgrade the hashing version to 3. version 2 trees will be imported when
upgrading to version 3, but not the file registry.

renaming should occur in the following situations:
- duplicates caused by directory merging.
- files that share the same name in a case-insensitive context but that are 
actually different in a case-sensitive context.

todo:
- directories that share the same name in a case-insensitive context but that 
are actually different in a case-sensitive context. this may have to be more 
contrived than file renaming; hopefully it's a less common situation...

it hasn't been well tested, so various share operations might break. i
have been testing on Windows, on which support for a case-sensitive file
system is minimal; feedback from Linux devs is very welcome to see how
this can be improved.

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/311818

Title:
  case-sensitivity in Unix systems

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/311818/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : linuxdcpp-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to