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:
rfm 2013-01-14 13:42:13 +00:00
parent fc22d6d5be
commit 4c54cfe3c2
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
{