mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Removed references to cStringNoCopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1a0efaad7c
commit
0806cb068b
27 changed files with 143 additions and 149 deletions
|
@ -365,7 +365,7 @@ fmalloc (NSZone *zone, size_t size)
|
|||
if (zone->name != nil)
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Zone %s has run out of memory",
|
||||
[zone->name cStringNoCopy]];
|
||||
[zone->name cString]];
|
||||
else
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Out of memory"];
|
||||
|
@ -456,7 +456,7 @@ frealloc (NSZone *zone, void *ptr, size_t size)
|
|||
if (zone->name != nil)
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Zone %s has run out of memory",
|
||||
[zone->name cStringNoCopy]];
|
||||
[zone->name cString]];
|
||||
else
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Out of memory"];
|
||||
|
@ -987,7 +987,7 @@ nmalloc (NSZone *zone, size_t size)
|
|||
if (zone->name != nil)
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Zone %s has run out of memory",
|
||||
[zone->name cStringNoCopy]];
|
||||
[zone->name cString]];
|
||||
else
|
||||
[NSException raise: NSMallocException
|
||||
format: @"Out of memory"];
|
||||
|
@ -1031,7 +1031,7 @@ nrealloc (NSZone *zone, void *ptr, size_t size)
|
|||
if (zone->name != nil)
|
||||
[NSException raise: NSGenericException
|
||||
format: @"Trying to reallocate in nonfreeable zone %s",
|
||||
[zone->name cStringNoCopy]];
|
||||
[zone->name cString]];
|
||||
else
|
||||
[NSException raise: NSGenericException
|
||||
format: @"Trying to reallocate in nonfreeable zone"];
|
||||
|
@ -1044,7 +1044,7 @@ nfree (NSZone *zone, void *ptr)
|
|||
if (zone->name != nil)
|
||||
[NSException raise: NSGenericException
|
||||
format: @"Trying to free memory from nonfreeable zone %s",
|
||||
[zone->name cStringNoCopy]];
|
||||
[zone->name cString]];
|
||||
else
|
||||
[NSException raise: NSGenericException
|
||||
format: @"Trying to free memory from nonfreeable zone"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue