Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ncurses-ruby bugs

Reply
Thread Tools

ncurses-ruby bugs

 
 
Nit Khair
Guest
Posts: n/a
 
      10-27-2008
Sorry for posting here. I mailed the email in the code 3 weeks back but
no response. Berlios.de has closed bug reporting.

1. dynamic_field_info (form_wrap.c):
The function takes 3 arrays, but was not allowing 3.
I changed 2 to 3 in line 1392, column 44. This is 0.9.1.

> RB_CLASS_METH(cFIELD, dynamic_field_info,2);


> RB_CLASS_METH(cFIELD, dynamic_field_info,3);


Now the method is callable.

2. ungetch: Many methods go through "method_missing". But this fails on
ungetch and is likely to give an error on other methods too. I was not
confident of touching that part of the code, so opened the class in ruby
as follows:

module Ncurses
class WINDOW
def ungetch(ch)
Ncurses.ungetch(ch)
end
end
end

Something similar can be done for other methods that fail in
method_missing.

Thanks.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bugs and Bugs...get rid of them Jason Computer Security 1 01-31-2006 10:47 PM
BUGS ??? erha Wireless Networking 7 05-16-2005 02:34 PM
Still use 'ruby-bugs' for Ruby bugs? Josef 'Jupp' Schugt Ruby 2 11-04-2004 10:10 PM
Firefox 0.9.1 major bugs Jonathan Firefox 7 07-07-2004 11:28 PM
mozilla community (bugs) - how it works? SiD` Firefox 1 05-25-2004 02:44 PM



Advertisments