fix crash in 'make msvc'
Modified: trunk/reactos/tools/rbuild/XML.cpp
_____
Modified: trunk/reactos/tools/rbuild/XML.cpp
--- trunk/reactos/tools/rbuild/XML.cpp 2005-09-13 03:51:18 UTC (rev
17828)
+++ trunk/reactos/tools/rbuild/XML.cpp 2005-09-13 11:57:50 UTC (rev
17829)
@@ -230,6 +230,11 @@
}
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()
Show replies by date