[MacRuby] #1160: Need ability to access errno from Ruby code

MacRuby ruby-noreply at macosforge.org
Wed Feb 9 22:40:04 PST 2011


#1160: Need ability to access errno from Ruby code
--------------------------------------+-------------------------------------
 Reporter:  warpflyght@…              |       Owner:  lsansonetti@…        
     Type:  enhancement               |      Status:  new                  
 Priority:  minor                     |   Milestone:                       
Component:  MacRuby                   |    Keywords:                       
--------------------------------------+-------------------------------------
 There doesn't appear to be a way to obtain the current thread's errno
 value without dropping into native code. The FFI library defines
 FFI.errno, but MacRuby's implementation of FFI is best characterized as a
 stub and thus hasn't implemented this functionality yet.

 If FFI is removed before 1.0 (see comments in #585), I'm not sure what the
 right place to expose errno would be. If it is not removed, implementing
 FFI.errno seems like the right thing to do.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1160>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list