xoofx / zio

A cross-platform abstract/virtual filesystem framework with many built-ins filesystems for .NET
BSD 2-Clause "Simplified" License
817 stars 61 forks source link

Remove SearchPattern special case for Windows #23

Closed Rohansi closed 6 years ago

Rohansi commented 6 years ago

Fix for #10. Windows can return files that don't match the given search pattern in EnumeratePaths because 8.3 naming (from DOS) is enabled for the filesystem.

This removes the special case allowing those names to pass SearchPattern tests and makes sure the returned paths match the search pattern on Windows.