projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9c581c
)
fix crash in 'make msvc'
author
Royce Mitchell III
<royce3@ev1.net>
Tue, 13 Sep 2005 11:57:50 +0000
(11:57 +0000)
committer
Royce Mitchell III
<royce3@ev1.net>
Tue, 13 Sep 2005 11:57:50 +0000
(11:57 +0000)
svn path=/trunk/; revision=17829
reactos/tools/rbuild/XML.cpp
patch
|
blob
|
history
diff --git
a/reactos/tools/rbuild/XML.cpp
b/reactos/tools/rbuild/XML.cpp
index
32cf417
..
fc81796
100644
(file)
--- a/
reactos/tools/rbuild/XML.cpp
+++ b/
reactos/tools/rbuild/XML.cpp
@@
-230,6
+230,11
@@
Path::Split ( vector<string>& out,
}
if ( include_last && strcmp ( prev, "." ) )
out.push_back ( prev );
+ // special-case where path only has "."
+ // don't move this check up higher as it might miss
+ // some funny paths...
+ if ( !out.size() && !strcmp ( prev, "." ) )
+ out.push_back ( "." );
}
XMLFile::XMLFile()