mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Source/NSString: (dataUsingEncoding:allowLossyConversion:):
Use buffer returned by NSZoneRealloc to create the data object. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21763 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c046636232
commit
839793e442
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-10-01 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* Source/NSString: (dataUsingEncoding:allowLossyConversion:):
|
||||
Use buffer returned by NSZoneRealloc to create the data object.
|
||||
|
||||
2005-09-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Additions/GNUstepBase/unicode/gsm0338.h: Map unicode
|
||||
|
|
|
@ -3329,7 +3329,7 @@ handle_printf_atsign (FILE *stream,
|
|||
}
|
||||
}
|
||||
|
||||
NSZoneRealloc(NSDefaultMallocZone(), buff, j);
|
||||
buff = NSZoneRealloc(NSDefaultMallocZone(), buff, j);
|
||||
|
||||
return [NSDataClass dataWithBytesNoCopy: buff
|
||||
length: j];
|
||||
|
|
Loading…
Reference in a new issue