Fix error setting length of root of path

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35969 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-01-14 13:42:13 +00:00
parent 7d5c4c9dd8
commit 6a962a48a8
2 changed files with 6 additions and 0 deletions

View file

@ -3837,6 +3837,7 @@ static NSFileManager *fm = nil;
{
[aString getCharacters: buf range: ((NSRange){0, aLength})];
length = aLength;
root = rootOf(aString, aLength);
}
else
{