mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
9a78fab576
commit
852f0519af
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>
|
2005-09-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Headers/Additions/GNUstepBase/unicode/gsm0338.h: Map unicode
|
* 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
|
return [NSDataClass dataWithBytesNoCopy: buff
|
||||||
length: j];
|
length: j];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue