From: Yukihiro Matsumoto Date: 2000-03-06T12:42:50+09:00 Subject: [ruby-talk:01741] Re: [Ruby] static buffers The following message is a courtesy copy of an article that has been posted to comp.lang.misc as well. Hi, Muvaw Pnazte writes: | host = Socket.gethostbyname("domain.com\n") | |which threw the exception. No wonder. (Maybe a little uninformative |though. :) I'll give you more informative error message in the next release. |Actually I don't see. Maybe I should have emphasized it, but what I |meant was that I thought we are entering to the last row of the block I |copied, strcpy, and it can overflow. (I though variable name is not |empty string, nor " operator" and the second is bad because "in" is already used |in other context. But both are ok for me. I could throw one more of |these forms: | | rescue FriendlyException to friendly Introducing new keyword may raise serious compatibility problem. But I'll consider it too. matz.