Form new stable release from trunk.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/stable@26630 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-06-12 10:44:00 +00:00
parent acc206a148
commit aaf7b19f28
299 changed files with 23466 additions and 8472 deletions

View file

@ -42,7 +42,7 @@
#include "Foundation/NSHost.h"
#include "Foundation/NSPortNameServer.h"
#include "Foundation/NSDebug.h"
#include "Foundation/NSThread.h"
#include "../Tools/gdnc.h"
@ -739,9 +739,13 @@ static NSDistributedNotificationCenter *netCenter = nil;
limit = [NSDate dateWithTimeIntervalSinceNow: 5.0];
while (_remote == nil && [limit timeIntervalSinceNow] > 0)
{
CREATE_AUTORELEASE_POOL(pool);
[NSThread sleepForTimeInterval: 0.05];
_remote = [NSConnection
rootProxyForConnectionWithRegisteredName: service
host: host usingNameServer: ns];
RETAIN(_remote);
DESTROY(pool);
}
if (_remote == nil)
{
@ -751,8 +755,11 @@ static NSDistributedNotificationCenter *netCenter = nil;
@"I attempted to start it at '%@'\n", cmd];
}
}
else
{
RETAIN(_remote);
}
RETAIN(_remote);
c = [_remote connectionForProxy];
[_remote setProtocolForProxy: p];