[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

termios borked by recent changes in io api

Cs. Henk

3/11/2005 6:38:00 AM

Hi!

If you want to compile the good ol' termios package against recent cvs
ruby, you will fail.

"An open file" doesn't mean the same today as it used to mean yesterday.
Here's the glorious moment of this shift captured:

http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/rubyio.h.diff?r1=1.33;r...

A quick solution is typing

sed -i 's/fptr->f/fptr->stdio_file/g' termios.c

in the termios src dir.

I just wonder, is there anybody maintaining this package, so that she/he
could update it properly?

And do package maintainers know of such changes at all? There are some
notes at the quoted point in the cvs log, but nothing like "API
CHANGE!!!" shouting all caps, blinking red. Is the 1.9 api such a moving
target such that a change is an everyday event, not worth for mention?

Csaba