mirror of
https://github.com/textmate/textmate.git
synced 2026-01-20 20:27:59 -05:00
Accept NULL_STR in path::info
This commit is contained in:
@@ -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 == ".")
|
||||
|
||||
Reference in New Issue
Block a user