|
From: Jonathan P. <jp...@dc...> - 2005-11-19 01:22:21
|
On 18 Nov 2005, at 23:00, Rupert BARROW wrote:
>
> What I cannot get to work :
> - reading from the XML persistence file store : this must due to
> some issue with archiving/unarchiving. To get the program to work
> properly, delete file in ~/Library/Application Support/SyncExamples
> before every launch
I haven't looked the whole project in detail yet, but the following
patch to the RubyCocoa framework fixes this:
=== src/objc/OverrideMixin.m
==================================================================
--- src/objc/OverrideMixin.m (revision 15)
+++ src/objc/OverrideMixin.m (local)
@@ -255,7 +255,7 @@
{
id new_obj;
id slave;
- new_obj = class_createInstanceFromZone(klass, 0, zone);
+ new_obj = class_createInstanceFromZone(klass, 0, zone ? zone :
NSDefaultMallocZone());
slave = slave_obj_new(new_obj);
set_slave(new_obj, slave);
return new_obj;
|