mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Fix recursion problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17093 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
335592b8d6
commit
4f9f2c224e
2 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSDistantObject.m: Avoid recursion fetching method signature
|
||||||
|
|
||||||
2003-07-03 Richard Frith-Macdonald <rfm@gnu.org>
|
2003-07-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSCalendarDate: ([-initWithString:calendarFormat:]) default
|
* Source/NSCalendarDate: ([-initWithString:calendarFormat:]) default
|
||||||
|
|
|
@ -791,6 +791,22 @@ enum
|
||||||
}
|
}
|
||||||
return sig;
|
return sig;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
* Simlarly, when we fetch a method signature form the remote end,
|
||||||
|
* we get a proxy, and when we build a local signature we need to
|
||||||
|
* ask the proxy for its types ... and must avoid recursion again.
|
||||||
|
*/
|
||||||
|
if (sel_eq(aSelector, @selector(methodType)))
|
||||||
|
{
|
||||||
|
static NSMethodSignature *sig = nil;
|
||||||
|
|
||||||
|
if (sig == nil)
|
||||||
|
{
|
||||||
|
sig = [NSMethodSignature signatureWithObjCTypes: "*@:"];
|
||||||
|
RETAIN(sig);
|
||||||
|
}
|
||||||
|
return sig;
|
||||||
|
}
|
||||||
|
|
||||||
if (_protocol != nil)
|
if (_protocol != nil)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue