End hashtable enumerations cleanly

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19193 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2004-04-26 14:47:54 +00:00
parent 70495f94f3
commit 5d4a4d8fbb
2 changed files with 12 additions and 4 deletions

View file

@ -1,12 +1,18 @@
2004-04-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHashTable.m: End enumerations 'properly' ... no effect
in current implementationm, but could be important in future.
2004-04-26 Willem Rein Oudshoorn <Wim.Oudshoorn@agilisys.com>
* Source/libgnustep-base-entry.m (gnustep_base_socket_init): Added braces for
if statement
* Source/libgnustep-base-entry.m (gnustep_base_socket_init):
Added braces for if statement
(DllMain): Removed old initialization code
(gnustep_base_socket_handler): Removd this method plus declaration.
* Source/GSFFCallInvocation.m (GSInvocationCallback): Try to find type information
if not available, also changes wording of exception when no type information is found.
* Source/GSFFCallInvocation.m (GSInvocationCallback): Try to find
type information if not available, also changes wording of exception
when no type information is found.
(Fixes #8654)
* Source/GSFFIInvocation.m (GSFFIInvocationCallback): Idem

View file

@ -84,6 +84,7 @@ NSAllHashTableObjects(NSHashTable *table)
{
[array addObject: element];
}
NSEndHashTableEnumeration(&enumerator)
return array;
}
@ -500,6 +501,7 @@ NSStringFromHashTable(NSHashTable *table)
{
[string appendFormat: @"%@;\n", (t->extra.describe)(table, element)];
}
NSEndHashTableEnumeration(&enumerator)
return string;
}