#647 <fileset> case sensitivity bug on caseinsensitive filesystem

0.85
closed-fixed
Core (183)
5
2007-08-22
2007-08-17
No

The following example includes different casing but would be expected to function correctly on a case insensitive file system:

<delete>
<fileset>
<include name="Src\Api\**\*.tlb"/>
<include name="src\Api\**\Release\**" />
</fileset>
</delete>

the Release directories are not cleaned in this case
it appears to fail due to the following code:

DirectoryScanner.cs line 529

// check if path is subdirectory of base directory
if (compare.IsPrefix(path, baseDirectory)) {
includedPatterns.Add(entry);
}

I believe it should be:

if (compare.IsPrefix(path, baseDirectory, compareOptions)) {
includedPatterns.Add(entry);
}

Regards,
Glen.

Discussion

  • Gert Driesen

    Gert Driesen - 2007-08-22
    • assigned_to: nobody --> drieseng
    • status: open --> closed-fixed
     
  • Gert Driesen

    Gert Driesen - 2007-08-22

    Logged In: YES
    user_id=707851
    Originator: NO

    Fixed in CVS.

    Thanks for the report !

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks