[MacRuby] #987: segfault when passing a string instead of array to NSTask.launchedTaskWithLaunchPath
MacRuby
ruby-noreply at macosforge.org
Sat Dec 4 13:26:07 PST 2010
#987: segfault when passing a string instead of array to
NSTask.launchedTaskWithLaunchPath
-----------------------------+----------------------------------------------
Reporter: lp@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 1.0
Component: MacRuby | Keywords: segfault when passing a string instead of array
-----------------------------+----------------------------------------------
Changes (by lsansonetti@…):
* milestone: => MacRuby 1.0
Comment:
Eloy, the Full file isn't used by MacRuby. As this method is fully
introspectable by the runtime, MacRuby will retrieve its signature from it
and allow you to pass any object as the argument. Remember, Objective-C is
not a static typed language as Ruby.
Overall, this is the same problem as #664.
--
Ticket URL: <http://www.macruby.org/trac/ticket/987#comment:3>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list