mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
fix bug #28939
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29694 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dd42cc24ba
commit
76debb89f3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-02-21 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSString.m: Fix incorrectly initialized zone ivar.
|
||||
Foixes bug #28939
|
||||
|
||||
2010-02-20 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Foundation/NSURL.h:
|
||||
|
|
|
@ -1667,7 +1667,7 @@ getCString_c(GSStr self, char *buffer, unsigned int maxLength,
|
|||
o->_flags.hash = 0;
|
||||
o->_capacity = self->_count;
|
||||
o->_contents.c = self->_contents.c;
|
||||
o->_zone = 0;
|
||||
o->_zone = NSDefaultMallocZone();
|
||||
GSStrWiden(o);
|
||||
getCString_u(o, buffer, maxLength, aRange, leftoverRange);
|
||||
if (o->_flags.owned == 1)
|
||||
|
|
Loading…
Reference in a new issue