Changes between Version 1 and Version 2 of Ticket #3186


Ignore:
Timestamp:
Nov 30, 2008, 4:58:19 PM (15 years ago)
Author:
anevilyak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3186 – Description

    v1 v2  
    331. Create a directory called New Folder.[[BR]]
    442. 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.
     53. 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.