mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
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:
parent
fc22d6d5be
commit
4c54cfe3c2
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-01-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSString.m: ([stringByAppendingPathComponent:]) recalculate
|
||||||
|
root of patch correctly before stripping trailing separators.
|
||||||
|
|
||||||
2013-01-13 Fred Kiefer <FredKiefer@gmx.de>
|
2013-01-13 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Headers/Foundation/NSDistributedNotificationCenter.h,
|
* Headers/Foundation/NSDistributedNotificationCenter.h,
|
||||||
|
|
|
@ -3837,6 +3837,7 @@ static NSFileManager *fm = nil;
|
||||||
{
|
{
|
||||||
[aString getCharacters: buf range: ((NSRange){0, aLength})];
|
[aString getCharacters: buf range: ((NSRange){0, aLength})];
|
||||||
length = aLength;
|
length = aLength;
|
||||||
|
root = rootOf(aString, aLength);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue