mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Mionor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/stable@25228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eba223d03d
commit
9043b1304b
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-06-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/GSString.m: fix error getting cstring from literal containing
|
||||||
|
illegal characters.
|
||||||
|
|
||||||
2007-06-03 Richard Frith-Macdonald <rfm@gnu.org>
|
2007-06-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSHTTPURLHandle.m: define MSG_DONTWAIT as zero if it's not
|
* Source/GSHTTPURLHandle.m: define MSG_DONTWAIT as zero if it's not
|
||||||
|
|
|
@ -1864,6 +1864,7 @@ getCStringE_c(GSStr self, char *buffer, unsigned int maxLength,
|
||||||
* from internal format to unicode and then to the specified
|
* from internal format to unicode and then to the specified
|
||||||
* C string encoding.
|
* C string encoding.
|
||||||
*/
|
*/
|
||||||
|
bytes = maxLength - sizeof(char);
|
||||||
if (GSToUnicode(&u, &l, self->_contents.c, self->_count,
|
if (GSToUnicode(&u, &l, self->_contents.c, self->_count,
|
||||||
internalEncoding, NSDefaultMallocZone(), 0) == NO)
|
internalEncoding, NSDefaultMallocZone(), 0) == NO)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue