#637: Segmentation fault error with NSSearchPathForDirectoriesInDomains function
---------------------------------+------------------------------------------
 Reporter:  aldar...@…           |       Owner:  lsansone...@…                  
                         
     Type:  defect               |      Status:  new                            
                         
 Priority:  major                |   Milestone:  MacRuby 0.5                    
                         
Component:  MacRuby              |    Keywords:  
NSSearchPathForDirectoriesInDomains "Segmentation fault"
---------------------------------+------------------------------------------

Comment(by martinlagarde...@…):

 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/>

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to