projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e6cb80
)
Handle empty path as relative.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 21 Sep 2010 01:31:18 +0000
(
01:31
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 21 Sep 2010 01:31:18 +0000
(
01:31
+0000)
xmltooling/util/PathResolver.cpp
patch
|
blob
|
history
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;