From ddf39e7c5893143bd797a265f3abd8f7d35de778 Mon Sep 17 00:00:00 2001 From: CaS Date: Thu, 18 Apr 2002 09:58:18 +0000 Subject: [PATCH] Minor change to avoid some warning messages. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13494 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 ++++- Source/GSTcpPort.m | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bba852c74..a01d406e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,11 @@ -2002-04-17 Richard Frith-Macdonald +2002-04-18 Richard Frith-Macdonald * Tools/gdomap.c: re-order headers so config.h is used on windoze * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:]) modified to handle MSYS paths with '/drive/' prefix. + * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation + at start, so flag gets set to say we are not valid, and we avoid any + recursive calls. 2002-04-16 Richard Frith-Macdonald diff --git a/Source/GSTcpPort.m b/Source/GSTcpPort.m index 9e9559122..be938950e 100644 --- a/Source/GSTcpPort.m +++ b/Source/GSTcpPort.m @@ -1769,6 +1769,8 @@ static Class tcpPortClass; NSArray *handleArray; unsigned i; + [super invalidate]; // Avoid recursive calls + [tcpPortLock lock]; thePorts = NSMapGet(tcpPortMap, (void*)(gsaddr)portNum); if (thePorts != 0) @@ -1795,7 +1797,6 @@ static Class tcpPortClass; NSFreeMapTable(handles); handles = 0; } - [super invalidate]; } DO_UNLOCK(myLock); }