fix spelling errors / typos (patch by heintzmann.eric@free.fr)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39774 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-05-18 06:11:00 +00:00
parent e73330ea22
commit 7622a2618e
9 changed files with 22 additions and 22 deletions

View file

@ -6301,7 +6301,7 @@ Wed Jun 5 17:46:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure
that returned memory is allocated from specified zone, rather than
returning internal buffer.
* Tools/AGSIndex.m: When a string missmatch is found when merging,
* Tools/AGSIndex.m: When a string mismatch is found when merging,
update the output to the new string as well as warning.
* Tools/autogsdoc.m: Don't automatically include refs to installed
copies of the project being documented.

View file

@ -1106,7 +1106,7 @@ NeXT-compatible zone functions.
@end itemize
@section Noteworthy changes in verion @samp{940524}
@section Noteworthy changes in version @samp{940524}
@itemize @bullet

View file

@ -307,7 +307,7 @@ NS_AUTOMATED_REFCOUNT_UNAVAILABLE
* Default value is maxint.
* </p>
*/
+ (void) setPoolCountThreshhold: (unsigned)c;
+ (void) setPoolCountThreshold: (unsigned)c;
/**
* Return the number of objects in this pool.

4
NEWS
View file

@ -994,8 +994,8 @@ made on GNUSTEP.
in List and HashTable. New files zone.[hc] containing dummy stubs
for NeXT-compatible zone functions.
1.77 Noteworthy changes in verion '940524'
==========================================
1.77 Noteworthy changes in version '940524'
===========================================
* A NeXT-compatible NXStringTable object, thanks to Adam Fedor
<adam@bastille.rmnug.org>.

View file

@ -71,7 +71,7 @@
else
{
[NSException raise: NSInternalInconsistencyException
format: @"Unsupported socks verion: %@", version];
format: @"Unsupported socks version: %@", version];
return nil; // Avoid spurious compiler warning
}
return [[concreteClass alloc] initWithConfiguration: aConfiguration

View file

@ -51,12 +51,12 @@
static BOOL autorelease_enabled = YES;
/* When the _released_count of a pool gets over this value, we raise
an exception. This can be adjusted with +setPoolCountThreshhold */
static unsigned pool_count_warning_threshhold = UINT_MAX-1;
an exception. This can be adjusted with +setPoolCountThreshold */
static unsigned pool_count_warning_threshold = UINT_MAX-1;
/* When the number of pools in a thread gets over this value, we raise
an exception. This can be adjusted with +setPoolNumberThreshhold */
static unsigned pool_number_warning_threshhold = 10000;
an exception. This can be adjusted with +setPoolNumberThreshold */
static unsigned pool_number_warning_threshold = 10000;
/* The size of the first _released array. */
#define BEGINNING_POOL_SIZE 32
@ -198,7 +198,7 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
_parent->_child = self;
}
tv->current_pool = self;
if (level > pool_number_warning_threshhold)
if (level > pool_number_warning_threshold)
{
[NSException raise: NSGenericException
format: @"Too many (%u) autorelease pools ... leaking them?", level];
@ -297,7 +297,7 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
_parent->_child = self;
}
tv->current_pool = self;
if (level > pool_number_warning_threshhold)
if (level > pool_number_warning_threshold)
{
[NSException raise: NSGenericException
format: @"Too many (%u) autorelease pools ... leaking them?", level];
@ -389,10 +389,10 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
if (!autorelease_enabled)
return;
if (_released_count >= pool_count_warning_threshhold)
if (_released_count >= pool_count_warning_threshold)
{
[NSException raise: NSGenericException
format: @"AutoreleasePool count threshhold exceeded."];
format: @"AutoreleasePool count threshold exceeded."];
}
/* Get a new array for the list, if the current one is full. */
@ -662,15 +662,15 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
free_pool_cache(ARP_THREAD_VARS);
}
+ (void) setPoolCountThreshhold: (unsigned)c
+ (void) setPoolCountThreshold: (unsigned)c
{
if (c >= UINT_MAX) c = UINT_MAX - 1;
pool_count_warning_threshhold = c;
pool_count_warning_threshold = c;
}
+ (void) setPoolNumberThreshhold: (unsigned)c
+ (void) setPoolNumberThreshold: (unsigned)c
{
pool_number_warning_threshhold = c;
pool_number_warning_threshold = c;
}
@end

View file

@ -2578,7 +2578,7 @@ static NSLock *cached_proxies_gate = nil;
if (GSSelectorTypesMatch(encoded_types, type) == NO)
{
[NSException raise: NSInvalidArgumentException
format: @"NSConection types (%s / %s) missmatch for %s",
format: @"NSConection types (%s / %s) mismatch for %s",
encoded_types, type, sel_getName(selector)];
}

View file

@ -414,13 +414,13 @@ static NSMapTable *globalClassMap = 0;
if (strcmp([o type], type) != 0)
{
[NSException raise: NSInvalidUnarchiveOperationException
format: @"[%@ +%@]: type missmatch for %@",
format: @"[%@ +%@]: type mismatch for %@",
NSStringFromClass([self class]), NSStringFromSelector(_cmd), o];
}
if ([o count] != expected)
{
[NSException raise: NSInvalidUnarchiveOperationException
format: @"[%@ +%@]: count missmatch for %@",
format: @"[%@ +%@]: count mismatch for %@",
NSStringFromClass([self class]), NSStringFromSelector(_cmd), o];
}
NSGetSizeAndAlignment(type, 0, &size);

View file

@ -2106,7 +2106,7 @@ fail:
if ([a1 isEqual: a2] == NO)
{
[self log: @"Function %@ args missmatch - "
[self log: @"Function %@ args mismatch - "
@"%@ %@", name, a1, a2];
}
/*