Tweak path extension handling

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30833 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-06-23 07:21:01 +00:00
parent ad1eff6603
commit 38c9e91657
3 changed files with 26 additions and 0 deletions

View file

@ -1165,6 +1165,10 @@ static unsigned urlAlign;
[aCoder decodeValueOfObjCType: @encode(id) at: &rel];
[aCoder decodeValueOfObjCType: @encode(id) at: &base];
if (nil == rel)
{
rel = @"";
}
self = [self initWithString: rel relativeToURL: base];
RELEASE(rel);
RELEASE(base);