New string functions, patches from Richard and Wacko.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2676 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1997-12-19 18:13:52 +00:00
parent 5bbd6ca292
commit cc39cb890a
10 changed files with 168 additions and 36 deletions

View file

@ -731,9 +731,16 @@ static int messages_received_count;
+ (NSDistantObject*) rootProxyAtPort: (NSPort*)anOutPort
{
id newInPort = [default_receive_port_class newForReceiving];
return [self rootProxyAtPort: anOutPort
NSConnection *c = [self connectionByOutPort: anOutPort];
if (c)
return [c rootProxy];
else
{
id newInPort = [default_receive_port_class newForReceiving];
return [self rootProxyAtPort: anOutPort
withInPort: [newInPort autorelease]];
}
}
+ (NSDistantObject*) rootProxyAtPort: (NSPort*)anOutPort