1.1 --- a/src/core/config.cc Tue Jan 20 18:29:06 2009 -0800
1.2 +++ b/src/core/config.cc Tue Jan 20 18:56:33 2009 -0800
1.3 @@ -332,8 +332,15 @@
1.4
1.5 //
1.6 // We're done with the object name service hooks, so proceed down the path
1.7 - // of types and attributes.
1.8 + // of types and attributes; but only if root is nonzero. If root is zero
1.9 + // and we find ourselves here, we are trying to check in the namespace for
1.10 + // a path that is not in the "/Names" namespace. We will have previously
1.11 + // found any matches, so we just bail out.
1.12 //
1.13 + if (root == 0)
1.14 + {
1.15 + return;
1.16 + }
1.17 std::string::size_type dollarPos = item.find ("$");
1.18 if (dollarPos == 0)
1.19 {