From 099fbdf042dda80d9d667ab7cb85adb49349166e Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Mon, 11 Feb 2013 14:21:21 +0100 Subject: [PATCH] Accept NULL_STR in path::info --- Frameworks/io/src/path.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Frameworks/io/src/path.cc b/Frameworks/io/src/path.cc index b75da1dd..61e4741d 100644 --- a/Frameworks/io/src/path.cc +++ b/Frameworks/io/src/path.cc @@ -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 == ".")