Hi Arlen,

Welcome to the list and MacRuby in general and thanks for your patch!

I'd love to take a look at your patch, however, as I've noted on the ticket
please add test coverage of the problem it fixes first.
And then we'll discuss it further on the ticket.

Cheers,
Eloy

On Jan 26, 2009, at 4:35 AM, Arlen Cuss wrote:

Hi all,

I'm Arlen, developer from Australia, as of a month or two ago a Mac user, and just started out doing some stuff in Cocoa a few days ago.

Naturally, I wanted to use Ruby, so I've gotten into MacRuby and hit my first stumbling point; OpenSSL's SSLSocket.

I've had a conversation with myself on Trac here about the problem, ultimately finding a fix;
http://www.macruby.org/trac/ticket/215

I've fixed the problems - the first seems to stem from the fact that the C initializer for SSLSocket is never called (weird!), and the second from memory issues in functions in io.c which use the rb_fdset_t struct.

I've supplied a diff on the ticket which works around both issues.

It'd be great if someone could look over it and include it, or provide some criticism on what I'm doing wrong. I don't hack on Ruby's code too much, so this is all quite new to me. :-)

Cheers, and best wishes to everyone,
Arlen
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to