Changes between Initial Version and Version 1 of Ticket #3186
- Timestamp:
- Nov 30, 2008, 4:57:40 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3186 – Description
initial v1 1 1 Steps to reproduce: 2 2 3 1. Create a directory called New Folder.[ BR]4 2. Create a directory called New Folder 2.[ BR]3 1. Create a directory called New Folder.[[BR]] 4 2. Create a directory called New Folder 2.[[BR]] 5 5 3. Get a BDirectory object for New Folder 2, a BEntry for New Folder, and call BDirectory::Contains() on the resulting entry. It will (incorrectly) return true, because Contains currently compares the paths of the two up to the length of the directory itself. Attached please find a patch intended to fix the situation by comparing the path components individually.