mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
fix crash in 'make msvc'
svn path=/trunk/; revision=17829
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user