Hi, this is a simple patch to make obexftp-0.23 build against ruby 1.9.
I need it for the better thread support in ruby 1.9.
Here is the patch.
--- swig/ruby/ruby_wrap_old.c 2009-05-08 17:54:42.260259966 +0200
+++ swig/ruby/ruby_wrap.c 2009-05-08 17:54:50.198258493 +0200
@@ -2601,7 +2601,7 @@
/* VALUE str = StringValue(argv); // perhaps better? */
arg2 = STR2CSTR(argv);
- arg3 = (int) RSTRING(argv)->len;
+ arg3 = (int) RSTRING_LEN(argv);
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.