mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
OSX compat tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34621 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
564bbf5fec
commit
ca98447111
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-01-24 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSURLRequest.m: be tolerant about missing URL on init.
|
||||||
|
|
||||||
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
|
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSFFIInvocation.m: Fix selector types comparison to use the
|
* Source/GSFFIInvocation.m: Fix selector types comparison to use the
|
||||||
|
|
|
@ -188,9 +188,9 @@ typedef struct {
|
||||||
{
|
{
|
||||||
if ([URL isKindOfClass: [NSURL class]] == NO)
|
if ([URL isKindOfClass: [NSURL class]] == NO)
|
||||||
{
|
{
|
||||||
DESTROY(self);
|
URL = nil;
|
||||||
}
|
}
|
||||||
else if ((self = [super init]) != nil)
|
if ((self = [super init]) != nil)
|
||||||
{
|
{
|
||||||
this->URL = RETAIN(URL);
|
this->URL = RETAIN(URL);
|
||||||
this->cachePolicy = cachePolicy;
|
this->cachePolicy = cachePolicy;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue