Changes between Version 1 and Version 2 of Ticket #3186
- Timestamp:
- Nov 30, 2008, 4:58:19 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3186 – Description
v1 v2 3 3 1. Create a directory called New Folder.[[BR]] 4 4 2. Create a directory called New Folder 2.[[BR]] 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.5 3. Get a BDirectory object for New Folder, a BEntry for New Folder 2, 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.