Accept NULL_STR in path::info

This commit is contained in:
Allan Odgaard
2013-02-11 14:21:21 +01:00
parent f5541b2a1c
commit 099fbdf042

View File

@@ -494,6 +494,8 @@ namespace path
uint32_t info (std::string const& path, uint32_t mask)
{
uint32_t res = 0;
if(path == NULL_STR)
return res;
std::string const& name = path::name(path);
if(name == ".")