Bug #14639 2008-10-05 08:51
geister
Ignoring case when renaming files to same name case modified
Platform: Window XP
Version: 8.02 and SVN 5241
Description:
When renaming a file in a project, if the file name is the same (case ignored), it does not rename it.
**This bug only applies to case-insensitive file systems.**
Wrong Behavior:
Renaming "file.cpp" to "FILE.CPP" will have no effect.
Expected Behavior:
Renaming "file.cpp" to "FILE.CPP" will rename "file.cpp" to "FILE.CPP".
---
I believe the reason why this happens is because it checks for the existence of a file with the new file name, and since on Windows it is case insensitive, it finds the old file.
To fix this, it might be required to compare (case insensitive) the old and new names if the new name is already taken. If they are equal, rename the file. This should do it for all platforms.
- Category
- Application::WrongBehaviour
- Group
- Status
- Closed
- Close date
- 2008-10-25 17:21
- Assigned to
- biplab
History
This bug is now fixed in HEAD.
Thank you for reporting it.