mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-21 20:51:52 +00:00
String usage updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9459 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6852355af1
commit
cb8b09362f
7 changed files with 31 additions and 28 deletions
|
@ -590,8 +590,7 @@ fmalloc (NSZone *zone, size_t size)
|
|||
objc_mutex_unlock(zptr->lock);
|
||||
if (zone->name != nil)
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Zone %s has run out of memory",
|
||||
[zone->name cString]];
|
||||
format: @"Zone %@ has run out of memory", zone->name];
|
||||
else
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Out of memory"];
|
||||
|
@ -690,8 +689,8 @@ frealloc (NSZone *zone, void *ptr, size_t size)
|
|||
objc_mutex_unlock(zptr->lock);
|
||||
if (zone->name != nil)
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Zone %s has run out of memory",
|
||||
[zone->name cString]];
|
||||
format: @"Zone %@ has run out of memory",
|
||||
zone->name];
|
||||
else
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Out of memory"];
|
||||
|
@ -1336,8 +1335,8 @@ nmalloc (NSZone *zone, size_t size)
|
|||
objc_mutex_unlock(zptr->lock);
|
||||
if (zone->name != nil)
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Zone %s has run out of memory",
|
||||
[zone->name cString]];
|
||||
format: @"Zone %@ has run out of memory",
|
||||
zone->name];
|
||||
else
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Out of memory"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue