mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
GFix bug in new path handling code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21047 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fe7fbf59b4
commit
734d473db4
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-04-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSString.m: ([sttringByAppendingPathComponent:]) Fix bug
|
||||
eliding multiple slashes in path.
|
||||
|
||||
2005-04-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSTask.m: Fix missing nul terminator to arguments under win32
|
||||
|
|
|
@ -3552,6 +3552,7 @@ static NSFileManager *fm = nil;
|
|||
buf[pos-1] = buf[pos];
|
||||
}
|
||||
length--;
|
||||
aLength--;
|
||||
}
|
||||
buf[aLength] = '/'; // Standardise
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue