From 5b633b46ff301982301608284ac540d66160224d Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 24 Jul 1998 10:01:29 +0000 Subject: [PATCH] Don't try to copy connections - they no longer inherit any copy behaviour. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2863 72102866-910b-0410-8b05-ffd578937521 --- Source/NSConnection.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/NSConnection.m b/Source/NSConnection.m index 7922e4509..b8134fdfa 100644 --- a/Source/NSConnection.m +++ b/Source/NSConnection.m @@ -273,7 +273,11 @@ static int messages_received_count; + (NSArray*) allConnections { - return [connection_array copy]; + int count = [connection_array count]; + id cons[count]; + + [connection_array getObjects: cons]; + return [NSArray arrayWithObjects: cons count: count]; } + (NSConnection*) connectionWithRegisteredName: (NSString*)n