pocoproject/poco — pull request #369 by RangelReale (2014-01-21 19:26:44+00:00)
Title: * Glob from start path, for platforms where it is not possible to transverse from root (Android)

On Android, for some directories (like /data/data) can't be transversed, even if each application can access its own directory. As Glob works by reading from the root directory, it does not work in Android.

This change adds a new static function that received the basePath as a parameter, so it starts from it. This workaround makes possible to use Glob in Android.

The change is simple, as the private "collect" method already supports a base path.