projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle empty path as relative.
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
util
/
PathResolver.cpp
diff --git
a/xmltooling/util/PathResolver.cpp
b/xmltooling/util/PathResolver.cpp
index
c0f2c11
..
95a1eea
100644
(file)
--- a/
xmltooling/util/PathResolver.cpp
+++ b/
xmltooling/util/PathResolver.cpp
@@
-78,6
+78,8
@@
void PathResolver::setCfgDir(const char* dir)
bool PathResolver::isAbsolute(const char* s) const
{
switch (*s) {
+ case 0:
+ return false;
case '/':
case '\\':
return true;