mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
fix crash in 'make msvc'
svn path=/trunk/; revision=17829
This commit is contained in:
parent
a9c581cdb7
commit
03d6ef4607
1 changed files with 5 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue