mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
bugfix for method name termination
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12809 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
52df8bfe7c
commit
22f8f72d56
2 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* Tools/gdomap.c: Removed obsolete code for shrinking data structures.
|
||||
* Source/GSValue.m: attempt to correct encoding.
|
||||
* Source/NSKeyValueCoding.m: Fix termination of method names with nuls
|
||||
from report by Manuel Guesdon.
|
||||
|
||||
2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -183,6 +183,7 @@
|
|||
hi = islower(lo) ? toupper(lo) : lo;
|
||||
buf[4] = hi;
|
||||
buf[size+4] = ':';
|
||||
buf[size+5] = '\0';
|
||||
|
||||
name = buf; // _setKey:
|
||||
type = NULL;
|
||||
|
@ -245,6 +246,7 @@
|
|||
hi = islower(lo) ? toupper(lo) : lo;
|
||||
buf[4] = hi;
|
||||
buf[size+4] = ':';
|
||||
buf[size+5] = '\0';
|
||||
|
||||
name = &buf[1]; // setKey:
|
||||
type = NULL;
|
||||
|
|
Loading…
Reference in a new issue