Changes between Initial Version and Version 1 of Ticket #3186


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3186 – Description

    initial v1  
    11Steps to reproduce:
    22
    3 1. Create a directory called New Folder.[BR]
    4 2. Create a directory called New Folder 2.[BR]
     31. Create a directory called New Folder.[[BR]]
     42. Create a directory called New Folder 2.[[BR]]
    553. 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.