[MacRuby-devel] [MacRuby] #637: Segmentation fault error with NSSearchPathForDirectoriesInDomains function
MacRuby
ruby-noreply at macosforge.org
Sat Mar 27 17:29:35 PDT 2010
#637: Segmentation fault error with NSSearchPathForDirectoriesInDomains function
---------------------------------+------------------------------------------
Reporter: aldarisb@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: NSSearchPathForDirectoriesInDomains "Segmentation fault"
---------------------------------+------------------------------------------
Comment(by martinlagardette@…):
Hi!
Since you set the Milestone to MacRuby 0.5, I assume that's the version
you're using, right?
With 0.6 (HEAD on trunk), I have no issue, so I would assume the problem
is fixed already :-)
{{{
$> cat /tmp/test.rb
framework 'Foundation'
def function_test
NSSearchPathForDirectoriesInDomains(NSDownloadsDirectory,
NSUserDomainMask)
end
function_test
$> macruby /tmp/test.rb
/tmp/array.rb:3:in `function_test': wrong number of arguments (2 for 3)
(ArgumentError)
from /tmp/array.rb:1:in `<main>'
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/637#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list