Hi guys,
Found a bug in Remote module. When calling Client->provide(), the argument order is swapped so the name and object gets mixed up. Easy fix: Change context.pike:242 from: void add(object o, string id) to: void add(string id, object o)
Oh, just checked recent sources (7.7 tree) vs. my version (7.4.44) to see if it's been fixed and found that the code has been moved around so the context class now lies in module.pike, but *the bug is still present*.
Cheers, Andreas
Thank you. Fixed in 7.2 and later. I did however opt to fix the call instead since your suggested fix could be a compatibility problem.
/ Martin Stjernholm, Roxen IS
Previous text:
2004-06-07 09:53: Subject: Remote bug
Hi guys,
Found a bug in Remote module. When calling Client->provide(), the argument order is swapped so the name and object gets mixed up. Easy fix: Change context.pike:242 from: void add(object o, string id) to: void add(string id, object o)
Oh, just checked recent sources (7.7 tree) vs. my version (7.4.44) to see if it's been fixed and found that the code has been moved around so the context class now lies in module.pike, but *the bug is still present*.
Cheers, Andreas
/ Brevbäraren
pike-devel@lists.lysator.liu.se