Recommit NSUnarchiver.m (now tested), revert recently broken NSPropertyList.m to working version again.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32081 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-02-11 15:43:43 +00:00
parent cd09e6bf87
commit d3f23b5057
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,12 @@
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m: Recommit
* Source/NSUnarchiver.m: Recommit
I have now test these two and recommited them as working.
* Source/NSPropertyList.m: Revert
These was quietly modified/broken since my last commit ...
reverting to the previous tested/working version.
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Recommit fixed version

View file

@ -2159,9 +2159,7 @@ OAppend(id obj, NSDictionary *loc, unsigned lev, unsigned step,
{
stride = stride * STRIDE_FACTOR + 1;
}
lastClass = object_getClass(keys[d + stride]);
comp = (NSComparisonResult (*)(id, SEL, id))
[keys[d + stride] methodForSelector: @selector(compare:)];
lastClass = 0;
while (stride > (STRIDE_FACTOR - 1))
{
// loop to sort for each value of stride

View file

@ -1196,7 +1196,6 @@ static Class NSDataMallocClass;
{
NSLog(@"Loss of information converting decoded value to uint16_t");
}
*(uint8_t*)address = (uint8_t)big;
*(uint16_t*)address = (uint16_t)big;
return;
case 4: