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
This commit is contained in:
Richard Frith-Macdonald 2002-04-18 09:58:18 +00:00
parent 8b67cc4486
commit 56d275dd4d
2 changed files with 6 additions and 2 deletions

View file

@ -1,8 +1,11 @@
2002-04-17 Richard Frith-Macdonald <rfm@gnu.org>
2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <rfm@gnu.org>

View file

@ -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);
}