mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
fix error writing negative numbers to property list
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23896 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6f2073da6e
commit
8ec6e389ee
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-10-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSPropertyList.m:
|
||||
Fix error writing negative numbers to property list.
|
||||
|
||||
2006-10-16 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSFFCallInvocation.m:
|
||||
|
|
|
@ -1635,7 +1635,8 @@ OAppend(id obj, NSDictionary *loc, unsigned lev, unsigned step,
|
|||
else if (x == NSPropertyListGNUstepFormat)
|
||||
{
|
||||
[dest appendBytes: "<*I" length: 3];
|
||||
PString([obj stringValue], dest);
|
||||
[dest appendData:
|
||||
[[obj stringValue] dataUsingEncoding: NSASCIIStringEncoding]];
|
||||
[dest appendBytes: ">" length: 1];
|
||||
}
|
||||
else
|
||||
|
@ -1654,7 +1655,8 @@ OAppend(id obj, NSDictionary *loc, unsigned lev, unsigned step,
|
|||
else if (x == NSPropertyListGNUstepFormat)
|
||||
{
|
||||
[dest appendBytes: "<*R" length: 3];
|
||||
PString([obj stringValue], dest);
|
||||
[dest appendData:
|
||||
[[obj stringValue] dataUsingEncoding: NSASCIIStringEncoding]];
|
||||
[dest appendBytes: ">" length: 1];
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue